@symbo.ls/create 2.11.214 → 2.11.219

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.
@@ -206,61 +206,61 @@ var require_types = __commonJS({
206
206
  __export2(types_exports, {
207
207
  TYPES: () => TYPES,
208
208
  is: () => is,
209
- isArray: () => isArray8,
209
+ isArray: () => isArray6,
210
210
  isBoolean: () => isBoolean,
211
- isDefined: () => isDefined,
211
+ isDefined: () => isDefined2,
212
212
  isFunction: () => isFunction4,
213
- isNot: () => isNot3,
213
+ isNot: () => isNot2,
214
214
  isNull: () => isNull,
215
215
  isNumber: () => isNumber,
216
- isObject: () => isObject14,
217
- isObjectLike: () => isObjectLike4,
218
- isString: () => isString13,
219
- isUndefined: () => isUndefined5
216
+ isObject: () => isObject12,
217
+ isObjectLike: () => isObjectLike3,
218
+ isString: () => isString9,
219
+ isUndefined: () => isUndefined4
220
220
  });
221
221
  module2.exports = __toCommonJS2(types_exports);
222
222
  var import_node = require_node();
223
- var isObject14 = (arg) => {
223
+ var isObject12 = (arg) => {
224
224
  if (arg === null)
225
225
  return false;
226
226
  return typeof arg === "object" && arg.constructor === Object;
227
227
  };
228
- var isString13 = (arg) => typeof arg === "string";
228
+ var isString9 = (arg) => typeof arg === "string";
229
229
  var isNumber = (arg) => typeof arg === "number";
230
230
  var isFunction4 = (arg) => typeof arg === "function";
231
231
  var isBoolean = (arg) => arg === true || arg === false;
232
232
  var isNull = (arg) => arg === null;
233
- var isArray8 = (arg) => Array.isArray(arg);
234
- var isObjectLike4 = (arg) => {
233
+ var isArray6 = (arg) => Array.isArray(arg);
234
+ var isObjectLike3 = (arg) => {
235
235
  if (arg === null)
236
236
  return false;
237
237
  return typeof arg === "object";
238
238
  };
239
- var isDefined = (arg) => {
240
- return isObject14(arg) || isObjectLike4(arg) || isString13(arg) || isNumber(arg) || isFunction4(arg) || isArray8(arg) || isObjectLike4(arg) || isBoolean(arg) || isNull(arg);
239
+ var isDefined2 = (arg) => {
240
+ return isObject12(arg) || isObjectLike3(arg) || isString9(arg) || isNumber(arg) || isFunction4(arg) || isArray6(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
241
241
  };
242
- var isUndefined5 = (arg) => {
242
+ var isUndefined4 = (arg) => {
243
243
  return arg === void 0;
244
244
  };
245
245
  var TYPES = {
246
246
  boolean: isBoolean,
247
- array: isArray8,
248
- object: isObject14,
249
- string: isString13,
247
+ array: isArray6,
248
+ object: isObject12,
249
+ string: isString9,
250
250
  number: isNumber,
251
251
  null: isNull,
252
252
  function: isFunction4,
253
- objectLike: isObjectLike4,
253
+ objectLike: isObjectLike3,
254
254
  node: import_node.isNode,
255
255
  htmlElement: import_node.isHtmlElement,
256
- defined: isDefined
256
+ defined: isDefined2
257
257
  };
258
258
  var is = (arg) => {
259
259
  return (...args) => {
260
260
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length > 0;
261
261
  };
262
262
  };
263
- var isNot3 = (arg) => {
263
+ var isNot2 = (arg) => {
264
264
  return (...args) => {
265
265
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length === 0;
266
266
  };
@@ -451,27 +451,27 @@ var require_object = __commonJS({
451
451
  var object_exports = {};
452
452
  __export2(object_exports, {
453
453
  clone: () => clone,
454
- deepClone: () => deepClone5,
454
+ deepClone: () => deepClone4,
455
455
  deepCloneExclude: () => deepCloneExclude,
456
- deepContains: () => deepContains3,
456
+ deepContains: () => deepContains,
457
457
  deepDestringify: () => deepDestringify,
458
458
  deepMerge: () => deepMerge4,
459
459
  deepStringify: () => deepStringify,
460
460
  detachFunctionsFromObject: () => detachFunctionsFromObject,
461
- diff: () => diff3,
461
+ diff: () => diff,
462
462
  diffArrays: () => diffArrays,
463
463
  diffObjects: () => diffObjects,
464
- exec: () => exec5,
464
+ exec: () => exec4,
465
465
  flattenRecursive: () => flattenRecursive,
466
466
  isEqualDeep: () => isEqualDeep2,
467
467
  map: () => map2,
468
- merge: () => merge5,
468
+ merge: () => merge4,
469
469
  mergeArrayExclude: () => mergeArrayExclude,
470
470
  mergeIfExisted: () => mergeIfExisted,
471
471
  objectToString: () => objectToString,
472
472
  overwrite: () => overwrite,
473
473
  overwriteDeep: () => overwriteDeep,
474
- overwriteShallow: () => overwriteShallow3,
474
+ overwriteShallow: () => overwriteShallow2,
475
475
  removeFromObject: () => removeFromObject,
476
476
  stringToObject: () => stringToObject
477
477
  });
@@ -480,7 +480,7 @@ var require_object = __commonJS({
480
480
  var import_types = require_types();
481
481
  var import_array = require_array();
482
482
  var import_string = require_string();
483
- var exec5 = (param, element, state, context) => {
483
+ var exec4 = (param, element, state, context) => {
484
484
  if ((0, import_types.isFunction)(param)) {
485
485
  return param(
486
486
  element,
@@ -492,10 +492,10 @@ var require_object = __commonJS({
492
492
  };
493
493
  var map2 = (obj, extention, element) => {
494
494
  for (const e in extention) {
495
- obj[e] = exec5(extention[e], element);
495
+ obj[e] = exec4(extention[e], element);
496
496
  }
497
497
  };
498
- var merge5 = (element, obj, excludeFrom = []) => {
498
+ var merge4 = (element, obj, excludeFrom = []) => {
499
499
  for (const e in obj) {
500
500
  const hasOwnProperty = Object.prototype.hasOwnProperty.call(obj, e);
501
501
  if (!hasOwnProperty || excludeFrom.includes(e) || e.startsWith("__"))
@@ -558,7 +558,7 @@ var require_object = __commonJS({
558
558
  var mergeArrayExclude = (arr, excl = []) => {
559
559
  return arr.reduce((acc, curr) => deepMerge4(acc, deepCloneExclude(curr, excl)), {});
560
560
  };
561
- var deepClone5 = (obj, excludeFrom = []) => {
561
+ var deepClone4 = (obj, excludeFrom = []) => {
562
562
  const o = (0, import_types.isArray)(obj) ? [] : {};
563
563
  for (const prop in obj) {
564
564
  if (prop === "__proto__")
@@ -570,7 +570,7 @@ var require_object = __commonJS({
570
570
  objProp = (0, import_array.mergeArray)(objProp);
571
571
  }
572
572
  if ((0, import_types.isObjectLike)(objProp)) {
573
- o[prop] = deepClone5(objProp, excludeFrom);
573
+ o[prop] = deepClone4(objProp, excludeFrom);
574
574
  } else
575
575
  o[prop] = objProp;
576
576
  }
@@ -725,7 +725,7 @@ var require_object = __commonJS({
725
725
  const objToDiffProp = objToDiff[e];
726
726
  if ((0, import_types.isObject)(originalProp) && (0, import_types.isObject)(objToDiffProp)) {
727
727
  cache2[e] = {};
728
- diff3(originalProp, objToDiffProp, cache2[e]);
728
+ diff(originalProp, objToDiffProp, cache2[e]);
729
729
  } else if (objToDiffProp !== void 0) {
730
730
  cache2[e] = objToDiffProp;
731
731
  }
@@ -738,7 +738,7 @@ var require_object = __commonJS({
738
738
  } else {
739
739
  const diffArr = [];
740
740
  for (let i2 = 0; i2 < original.length; i2++) {
741
- const diffObj = diff3(original[i2], objToDiff[i2]);
741
+ const diffObj = diff(original[i2], objToDiff[i2]);
742
742
  if (Object.keys(diffObj).length > 0) {
743
743
  diffArr.push(diffObj);
744
744
  }
@@ -749,7 +749,7 @@ var require_object = __commonJS({
749
749
  }
750
750
  return cache2;
751
751
  };
752
- var diff3 = (original, objToDiff, cache2 = {}) => {
752
+ var diff = (original, objToDiff, cache2 = {}) => {
753
753
  if ((0, import_types.isArray)(original) && (0, import_types.isArray)(objToDiff)) {
754
754
  cache2 = [];
755
755
  diffArrays(original, objToDiff, cache2);
@@ -773,7 +773,7 @@ var require_object = __commonJS({
773
773
  }
774
774
  return changes;
775
775
  };
776
- var overwriteShallow3 = (obj, params, excludeFrom = []) => {
776
+ var overwriteShallow2 = (obj, params, excludeFrom = []) => {
777
777
  for (const e in params) {
778
778
  if (excludeFrom.includes(e) || e.startsWith("__"))
779
779
  continue;
@@ -837,7 +837,7 @@ var require_object = __commonJS({
837
837
  }
838
838
  return true;
839
839
  };
840
- var deepContains3 = (obj1, obj2) => {
840
+ var deepContains = (obj1, obj2) => {
841
841
  if (typeof obj1 !== typeof obj2) {
842
842
  return false;
843
843
  }
@@ -847,14 +847,14 @@ var require_object = __commonJS({
847
847
  return false;
848
848
  }
849
849
  for (let i2 = 0; i2 < obj1.length; i2++) {
850
- if (!deepContains3(obj1[i2], obj2[i2])) {
850
+ if (!deepContains(obj1[i2], obj2[i2])) {
851
851
  return false;
852
852
  }
853
853
  }
854
854
  } else if ((0, import_types.isObjectLike)(obj1) && obj2 !== null) {
855
855
  for (const key in obj1) {
856
856
  const hasOwnProperty = Object.prototype.hasOwnProperty.call(obj2, key);
857
- if (!hasOwnProperty || !deepContains3(obj1[key], obj2[key])) {
857
+ if (!hasOwnProperty || !deepContains(obj1[key], obj2[key])) {
858
858
  return false;
859
859
  }
860
860
  }
@@ -1375,11 +1375,11 @@ var require_tree = __commonJS({
1375
1375
  TREE: () => TREE
1376
1376
  });
1377
1377
  module2.exports = __toCommonJS2(tree_exports);
1378
- var import_utils30 = require_cjs();
1378
+ var import_utils24 = require_cjs();
1379
1379
  var import_report = require_cjs2();
1380
1380
  var ROOT = {
1381
1381
  key: ":root",
1382
- node: import_utils30.document ? import_utils30.document.body : (0, import_report.report)("DocumentNotDefined", import_utils30.document)
1382
+ node: import_utils24.document ? import_utils24.document.body : (0, import_report.report)("DocumentNotDefined", import_utils24.document)
1383
1383
  };
1384
1384
  var TREE = ROOT;
1385
1385
  }
@@ -1415,12 +1415,12 @@ var require_on = __commonJS({
1415
1415
  triggerEventOnUpdate: () => triggerEventOnUpdate
1416
1416
  });
1417
1417
  module2.exports = __toCommonJS2(on_exports);
1418
- var import_utils30 = require_cjs();
1418
+ var import_utils24 = require_cjs();
1419
1419
  var applyEvent = (param, element, state, context, options) => {
1420
1420
  return param(element, state || element.state, context || element.context, options);
1421
1421
  };
1422
1422
  var triggerEventOn = (param, element, options) => {
1423
- if (element.on && (0, import_utils30.isFunction)(element.on[param])) {
1423
+ if (element.on && (0, import_utils24.isFunction)(element.on[param])) {
1424
1424
  const { state, context } = element;
1425
1425
  return applyEvent(element.on[param], element, state, context, options);
1426
1426
  }
@@ -1429,7 +1429,7 @@ var require_on = __commonJS({
1429
1429
  return param(updatedObj, element, state || element.state, context || element.context, options);
1430
1430
  };
1431
1431
  var triggerEventOnUpdate = (param, updatedObj, element, options) => {
1432
- if (element.on && (0, import_utils30.isFunction)(element.on[param])) {
1432
+ if (element.on && (0, import_utils24.isFunction)(element.on[param])) {
1433
1433
  const { state, context } = element;
1434
1434
  return applyEventUpdate(element.on[param], updatedObj, element, state, context, options);
1435
1435
  }
@@ -1440,7 +1440,7 @@ var require_on = __commonJS({
1440
1440
  if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "initStateUpdated" || param === "stateUpdated" || param === "initUpdate" || param === "update")
1441
1441
  continue;
1442
1442
  const appliedFunction = element.on[param];
1443
- if ((0, import_utils30.isFunction)(appliedFunction)) {
1443
+ if ((0, import_utils24.isFunction)(appliedFunction)) {
1444
1444
  const { state, context } = element;
1445
1445
  node2.addEventListener(param, (event) => appliedFunction(event, element, state, context));
1446
1446
  }
@@ -1476,10 +1476,10 @@ var require_can = __commonJS({
1476
1476
  });
1477
1477
  module2.exports = __toCommonJS2(can_exports);
1478
1478
  var import_report = require_cjs2();
1479
- var import_utils30 = require_cjs();
1479
+ var import_utils24 = require_cjs();
1480
1480
  var canRender = (element) => {
1481
1481
  const tag = element.tag || "div";
1482
- return (0, import_utils30.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
1482
+ return (0, import_utils24.isValidHtmlTag)(tag) || (0, import_report.report)("HTMLInvalidTag");
1483
1483
  };
1484
1484
  }
1485
1485
  });
@@ -1570,7 +1570,7 @@ var require_cache = __commonJS({
1570
1570
  module2.exports = __toCommonJS2(cache_exports);
1571
1571
  var import_report = require_cjs2();
1572
1572
  var import_event = require_cjs3();
1573
- var import_utils30 = require_cjs();
1573
+ var import_utils24 = require_cjs();
1574
1574
  var cache2 = {};
1575
1575
  var createHTMLNode = (element) => {
1576
1576
  const { tag } = element;
@@ -1589,15 +1589,15 @@ var require_cache = __commonJS({
1589
1589
  };
1590
1590
  var detectTag = (element) => {
1591
1591
  let { tag, key } = element;
1592
- tag = (0, import_utils30.exec)(tag, element);
1592
+ tag = (0, import_utils24.exec)(tag, element);
1593
1593
  if (tag === true)
1594
1594
  tag = key;
1595
- if ((0, import_utils30.isString)(tag)) {
1596
- const tagExists = (0, import_utils30.isValidHtmlTag)(tag);
1595
+ if ((0, import_utils24.isString)(tag)) {
1596
+ const tagExists = (0, import_utils24.isValidHtmlTag)(tag);
1597
1597
  if (tagExists)
1598
1598
  return tag;
1599
1599
  } else {
1600
- const isKeyATag = (0, import_utils30.isValidHtmlTag)(key);
1600
+ const isKeyATag = (0, import_utils24.isValidHtmlTag)(key);
1601
1601
  if (isKeyATag)
1602
1602
  return key;
1603
1603
  }
@@ -1716,16 +1716,16 @@ var require_attr = __commonJS({
1716
1716
  default: () => attr_default
1717
1717
  });
1718
1718
  module2.exports = __toCommonJS2(attr_exports);
1719
- var import_utils30 = require_cjs();
1719
+ var import_utils24 = require_cjs();
1720
1720
  var import_report = require_cjs2();
1721
1721
  var attr_default = (params, element, node2) => {
1722
1722
  const { __ref } = element;
1723
1723
  const { __attr } = __ref;
1724
- if ((0, import_utils30.isNot)("object"))
1724
+ if ((0, import_utils24.isNot)("object"))
1725
1725
  (0, import_report.report)("HTMLInvalidAttr", params);
1726
1726
  if (params) {
1727
1727
  for (const attr in params) {
1728
- const val = (0, import_utils30.exec)(params[attr], element);
1728
+ const val = (0, import_utils24.exec)(params[attr], element);
1729
1729
  if (val && node2.setAttribute)
1730
1730
  node2.setAttribute(attr, val);
1731
1731
  else if (node2.removeAttribute)
@@ -1768,7 +1768,7 @@ var require_classList = __commonJS({
1768
1768
  default: () => classList_default
1769
1769
  });
1770
1770
  module2.exports = __toCommonJS2(classList_exports);
1771
- var import_utils30 = require_cjs();
1771
+ var import_utils24 = require_cjs();
1772
1772
  var assignKeyAsClassname = (element) => {
1773
1773
  const { key } = element;
1774
1774
  if (element.class === true)
@@ -1786,7 +1786,7 @@ var require_classList = __commonJS({
1786
1786
  else if (typeof param === "string")
1787
1787
  className += ` ${param}`;
1788
1788
  else if (typeof param === "function") {
1789
- className += ` ${(0, import_utils30.exec)(param, element)}`;
1789
+ className += ` ${(0, import_utils24.exec)(param, element)}`;
1790
1790
  }
1791
1791
  }
1792
1792
  return className;
@@ -1797,9 +1797,9 @@ var require_classList = __commonJS({
1797
1797
  const { key } = element;
1798
1798
  if (params === true)
1799
1799
  params = element.class = { key };
1800
- if ((0, import_utils30.isString)(params))
1800
+ if ((0, import_utils24.isString)(params))
1801
1801
  params = element.class = { default: params };
1802
- if ((0, import_utils30.isObject)(params))
1802
+ if ((0, import_utils24.isObject)(params))
1803
1803
  params = classify2(params, element);
1804
1804
  const className = params.replace(/\s+/g, " ").trim();
1805
1805
  if (element.ref)
@@ -1883,7 +1883,7 @@ var require_set = __commonJS({
1883
1883
  default: () => set_default
1884
1884
  });
1885
1885
  module2.exports = __toCommonJS2(set_exports);
1886
- var import_utils30 = require_cjs();
1886
+ var import_utils24 = require_cjs();
1887
1887
  var import_create = __toESM2(require_create4(), 1);
1888
1888
  var import_options3 = __toESM2(require_options(), 1);
1889
1889
  var import_mixins = require_mixins();
@@ -1891,7 +1891,7 @@ var require_set = __commonJS({
1891
1891
  var set5 = function(params, options = {}, el) {
1892
1892
  const element = el || this;
1893
1893
  const __contentRef = element.content && element.content.__ref;
1894
- if (__contentRef && __contentRef.__cached && (0, import_utils30.deepContains)(params, element.content)) {
1894
+ if (__contentRef && __contentRef.__cached && (0, import_utils24.deepContains)(params, element.content)) {
1895
1895
  console.log("is content equal");
1896
1896
  return element.content.update();
1897
1897
  }
@@ -1952,7 +1952,7 @@ var require_content = __commonJS({
1952
1952
  updateContent: () => updateContent
1953
1953
  });
1954
1954
  module2.exports = __toCommonJS2(content_exports);
1955
- var import_utils30 = require_cjs();
1955
+ var import_utils24 = require_cjs();
1956
1956
  var import_set = __toESM2(require_set(), 1);
1957
1957
  var updateContent = function(params, options) {
1958
1958
  const element = this;
@@ -1975,7 +1975,7 @@ var require_content = __commonJS({
1975
1975
  if (__cached && __cached.content) {
1976
1976
  if (__cached.content.tag === "fragment")
1977
1977
  __cached.content.parent.node.innerHTML = "";
1978
- else if (__cached.content && (0, import_utils30.isFunction)(__cached.content.remove))
1978
+ else if (__cached.content && (0, import_utils24.isFunction)(__cached.content.remove))
1979
1979
  __cached.content.remove();
1980
1980
  }
1981
1981
  delete element.content;
@@ -2020,15 +2020,15 @@ var require_data = __commonJS({
2020
2020
  default: () => data_default
2021
2021
  });
2022
2022
  module2.exports = __toCommonJS2(data_exports);
2023
- var import_utils30 = require_cjs();
2023
+ var import_utils24 = require_cjs();
2024
2024
  var import_report = require_cjs2();
2025
2025
  var data_default = (params, element, node2) => {
2026
2026
  if (params && params.showOnNode) {
2027
- if (!(0, import_utils30.isObject)(params))
2027
+ if (!(0, import_utils24.isObject)(params))
2028
2028
  (0, import_report.report)("HTMLInvalidData", params);
2029
2029
  for (const dataset in params) {
2030
2030
  if (dataset !== "showOnNode") {
2031
- node2.dataset[dataset] = (0, import_utils30.exec)(params[dataset], element);
2031
+ node2.dataset[dataset] = (0, import_utils24.exec)(params[dataset], element);
2032
2032
  }
2033
2033
  }
2034
2034
  }
@@ -2062,9 +2062,9 @@ var require_html = __commonJS({
2062
2062
  default: () => html_default
2063
2063
  });
2064
2064
  module2.exports = __toCommonJS2(html_exports);
2065
- var import_utils30 = require_cjs();
2065
+ var import_utils24 = require_cjs();
2066
2066
  var html_default = (param, element, node2) => {
2067
- const prop = (0, import_utils30.exec)(param, element);
2067
+ const prop = (0, import_utils24.exec)(param, element);
2068
2068
  const { __ref } = element;
2069
2069
  if (prop !== __ref.__html) {
2070
2070
  if (node2.nodeName === "SVG")
@@ -2103,12 +2103,12 @@ var require_style = __commonJS({
2103
2103
  default: () => style_default2
2104
2104
  });
2105
2105
  module2.exports = __toCommonJS2(style_exports);
2106
- var import_utils30 = require_cjs();
2106
+ var import_utils24 = require_cjs();
2107
2107
  var import_report = require_cjs2();
2108
2108
  var style_default2 = (params, element, node2) => {
2109
2109
  if (params) {
2110
- if ((0, import_utils30.isObject)(params))
2111
- (0, import_utils30.map)(node2.style, params, element);
2110
+ if ((0, import_utils24.isObject)(params))
2111
+ (0, import_utils24.map)(node2.style, params, element);
2112
2112
  else
2113
2113
  (0, import_report.report)("HTMLInvalidStyles", params);
2114
2114
  }
@@ -2144,9 +2144,9 @@ var require_text = __commonJS({
2144
2144
  });
2145
2145
  module2.exports = __toCommonJS2(text_exports);
2146
2146
  var import__2 = require_cjs7();
2147
- var import_utils30 = require_cjs();
2147
+ var import_utils24 = require_cjs();
2148
2148
  var asd = (param, element, node2) => {
2149
- const prop = (0, import_utils30.exec)(param, element);
2149
+ const prop = (0, import_utils24.exec)(param, element);
2150
2150
  if (element.tag === "string") {
2151
2151
  node2.nodeValue = prop;
2152
2152
  } else if (param !== void 0 || param !== null) {
@@ -2160,9 +2160,9 @@ var require_text = __commonJS({
2160
2160
  }
2161
2161
  };
2162
2162
  var text_default = (param, element, node2) => {
2163
- let prop = (0, import_utils30.exec)(param, element);
2164
- if ((0, import_utils30.isString)(prop) && prop.includes("{{")) {
2165
- prop = (0, import_utils30.replaceLiteralsWithObjectFields)(prop, element.state);
2163
+ let prop = (0, import_utils24.exec)(param, element);
2164
+ if ((0, import_utils24.isString)(prop) && prop.includes("{{")) {
2165
+ prop = (0, import_utils24.replaceLiteralsWithObjectFields)(prop, element.state);
2166
2166
  }
2167
2167
  if (element.tag === "string") {
2168
2168
  if (element.text === prop)
@@ -2266,11 +2266,11 @@ var require_methods = __commonJS({
2266
2266
  toggle: () => toggle
2267
2267
  });
2268
2268
  module2.exports = __toCommonJS2(methods_exports);
2269
- var import_utils30 = require_cjs();
2269
+ var import_utils24 = require_cjs();
2270
2270
  var import_ignore = require_ignore();
2271
2271
  var parse3 = function() {
2272
2272
  const state = this;
2273
- if ((0, import_utils30.isObject)(state)) {
2273
+ if ((0, import_utils24.isObject)(state)) {
2274
2274
  const obj = {};
2275
2275
  for (const param in state) {
2276
2276
  if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
@@ -2278,7 +2278,7 @@ var require_methods = __commonJS({
2278
2278
  }
2279
2279
  }
2280
2280
  return obj;
2281
- } else if ((0, import_utils30.isArray)(state)) {
2281
+ } else if ((0, import_utils24.isArray)(state)) {
2282
2282
  return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
2283
2283
  }
2284
2284
  };
@@ -2298,7 +2298,7 @@ var require_methods = __commonJS({
2298
2298
  const state = this;
2299
2299
  const element = state.__element;
2300
2300
  const stateKey = element.__ref.__state;
2301
- if ((0, import_utils30.isString)(stateKey)) {
2301
+ if ((0, import_utils24.isString)(stateKey)) {
2302
2302
  element.parent.state.remove(stateKey, { isHoisted: true, ...options });
2303
2303
  return element.state;
2304
2304
  }
@@ -2333,10 +2333,10 @@ var require_methods = __commonJS({
2333
2333
  };
2334
2334
  var add = function(value2, options = {}) {
2335
2335
  const state = this;
2336
- if ((0, import_utils30.isArray)(state)) {
2336
+ if ((0, import_utils24.isArray)(state)) {
2337
2337
  state.push(value2);
2338
2338
  state.update(state.parse(), { overwrite: "replace", ...options });
2339
- } else if ((0, import_utils30.isObject)(state)) {
2339
+ } else if ((0, import_utils24.isObject)(state)) {
2340
2340
  const key = Object.keys(state).length;
2341
2341
  state.update({ [key]: value2 }, options);
2342
2342
  }
@@ -2347,10 +2347,10 @@ var require_methods = __commonJS({
2347
2347
  };
2348
2348
  var remove = function(key, options = {}) {
2349
2349
  const state = this;
2350
- if ((0, import_utils30.isArray)(state))
2351
- (0, import_utils30.removeFromArray)(state, key);
2352
- if ((0, import_utils30.isObject)(state))
2353
- (0, import_utils30.removeFromObject)(state, key);
2350
+ if ((0, import_utils24.isArray)(state))
2351
+ (0, import_utils24.removeFromArray)(state, key);
2352
+ if ((0, import_utils24.isObject)(state))
2353
+ (0, import_utils24.removeFromObject)(state, key);
2354
2354
  return state.update(state.parse(), { replace: true, ...options });
2355
2355
  };
2356
2356
  var set5 = function(value2, options = {}) {
@@ -2359,7 +2359,7 @@ var require_methods = __commonJS({
2359
2359
  };
2360
2360
  var apply = function(func, options = {}) {
2361
2361
  const state = this;
2362
- if ((0, import_utils30.isFunction)(func)) {
2362
+ if ((0, import_utils24.isFunction)(func)) {
2363
2363
  func(state);
2364
2364
  return state.update(state, { replace: true, ...options });
2365
2365
  }
@@ -2394,12 +2394,12 @@ var require_inherit = __commonJS({
2394
2394
  createChangesByKey: () => createChangesByKey,
2395
2395
  createInheritedState: () => createInheritedState,
2396
2396
  findInheritedState: () => findInheritedState,
2397
- getChildStateInKey: () => getChildStateInKey3,
2397
+ getChildStateInKey: () => getChildStateInKey2,
2398
2398
  getParentStateInKey: () => getParentStateInKey,
2399
- isState: () => isState3
2399
+ isState: () => isState2
2400
2400
  });
2401
2401
  module2.exports = __toCommonJS2(inherit_exports);
2402
- var import_utils30 = require_cjs();
2402
+ var import_utils24 = require_cjs();
2403
2403
  var import_ignore = require_ignore();
2404
2404
  var getParentStateInKey = (stateKey, parentState) => {
2405
2405
  if (!stateKey.includes("../"))
@@ -2413,7 +2413,7 @@ var require_inherit = __commonJS({
2413
2413
  }
2414
2414
  return parentState;
2415
2415
  };
2416
- var getChildStateInKey3 = (stateKey, parentState, options = {}) => {
2416
+ var getChildStateInKey2 = (stateKey, parentState, options = {}) => {
2417
2417
  const arr = stateKey.split("/");
2418
2418
  const arrLength = arr.length - 1;
2419
2419
  for (let i2 = 0; i2 < arrLength; i2++) {
@@ -2446,16 +2446,16 @@ var require_inherit = __commonJS({
2446
2446
  }
2447
2447
  if (!parentState)
2448
2448
  return;
2449
- return getChildStateInKey3(stateKey, parentState, options);
2449
+ return getChildStateInKey2(stateKey, parentState, options);
2450
2450
  };
2451
2451
  var createInheritedState = (element, parent) => {
2452
2452
  const ref = element.__ref;
2453
2453
  const inheritedState = findInheritedState(element, parent);
2454
- if ((0, import_utils30.isUndefined)(inheritedState))
2454
+ if ((0, import_utils24.isUndefined)(inheritedState))
2455
2455
  return element.state;
2456
- if ((0, import_utils30.is)(inheritedState)("object", "array")) {
2457
- return (0, import_utils30.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
2458
- } else if ((0, import_utils30.is)(inheritedState)("string", "number", "boolean")) {
2456
+ if ((0, import_utils24.is)(inheritedState)("object", "array")) {
2457
+ return (0, import_utils24.deepClone)(inheritedState, import_ignore.IGNORE_STATE_PARAMS);
2458
+ } else if ((0, import_utils24.is)(inheritedState)("string", "number", "boolean")) {
2459
2459
  ref.__stateType = typeof inheritedState;
2460
2460
  return { value: inheritedState };
2461
2461
  }
@@ -2464,12 +2464,12 @@ var require_inherit = __commonJS({
2464
2464
  var checkIfInherits = (element) => {
2465
2465
  const ref = element.__ref;
2466
2466
  const stateKey = ref.__state;
2467
- if (stateKey && (0, import_utils30.is)(stateKey)("number", "string", "boolean"))
2467
+ if (stateKey && (0, import_utils24.is)(stateKey)("number", "string", "boolean"))
2468
2468
  return true;
2469
2469
  return false;
2470
2470
  };
2471
- var isState3 = function(state) {
2472
- if (!(0, import_utils30.isObjectLike)(state))
2471
+ var isState2 = function(state) {
2472
+ if (!(0, import_utils24.isObjectLike)(state))
2473
2473
  return false;
2474
2474
  return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.toggle && state.add && state.apply && state.__element && state.__children;
2475
2475
  };
@@ -2518,7 +2518,7 @@ var require_updateState = __commonJS({
2518
2518
  var import_report = require_cjs2();
2519
2519
  var import_event = require_cjs3();
2520
2520
  var import_ignore = require_ignore();
2521
- var import_utils30 = require_cjs();
2521
+ var import_utils24 = require_cjs();
2522
2522
  var import_inherit = require_inherit();
2523
2523
  var STATE_UPDATE_OPTIONS = {
2524
2524
  overwrite: true,
@@ -2532,7 +2532,7 @@ var require_updateState = __commonJS({
2532
2532
  const state = this;
2533
2533
  const element = state.__element;
2534
2534
  if (!options.updateByState)
2535
- (0, import_utils30.merge)(options, STATE_UPDATE_OPTIONS);
2535
+ (0, import_utils24.merge)(options, STATE_UPDATE_OPTIONS);
2536
2536
  if (!state.__element)
2537
2537
  (0, import_report.report)("ElementOnStateIsNotDefined");
2538
2538
  if (options.preventInheritAtCurrentState === true) {
@@ -2562,10 +2562,10 @@ var require_updateState = __commonJS({
2562
2562
  const shallow = overwrite === "shallow";
2563
2563
  const merge22 = overwrite === "merge";
2564
2564
  if (merge22) {
2565
- (0, import_utils30.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
2565
+ (0, import_utils24.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
2566
2566
  return;
2567
2567
  }
2568
- const overwriteFunc = shallow ? import_utils30.overwriteShallow : import_utils30.overwriteDeep;
2568
+ const overwriteFunc = shallow ? import_utils24.overwriteShallow : import_utils24.overwriteDeep;
2569
2569
  overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
2570
2570
  };
2571
2571
  var hoistStateUpdate = (state, obj, options) => {
@@ -2657,7 +2657,7 @@ var require_create2 = __commonJS({
2657
2657
  });
2658
2658
  module2.exports = __toCommonJS2(create_exports);
2659
2659
  var import_event = require_cjs3();
2660
- var import_utils30 = require_cjs();
2660
+ var import_utils24 = require_cjs();
2661
2661
  var import_ignore = require_ignore();
2662
2662
  var import_methods = require_methods();
2663
2663
  var import_updateState = require_updateState();
@@ -2671,13 +2671,13 @@ var require_create2 = __commonJS({
2671
2671
  if (objectizeState === false)
2672
2672
  return parent.state || {};
2673
2673
  else
2674
- element.state = (0, import_utils30.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
2674
+ element.state = (0, import_utils24.deepClone)(objectizeState, import_ignore.IGNORE_STATE_PARAMS);
2675
2675
  const whatInitReturns = (0, import_event.triggerEventOn)("stateInit", element, options);
2676
2676
  if (whatInitReturns === false)
2677
2677
  return element.state;
2678
2678
  if ((0, import_inherit.checkIfInherits)(element)) {
2679
2679
  const inheritedState = (0, import_inherit.createInheritedState)(element, parent);
2680
- element.state = (0, import_utils30.isUndefined)(inheritedState) ? {} : inheritedState;
2680
+ element.state = (0, import_utils24.isUndefined)(inheritedState) ? {} : inheritedState;
2681
2681
  }
2682
2682
  const dependentState = applyDependentState(element, element.state);
2683
2683
  if (dependentState)
@@ -2690,17 +2690,17 @@ var require_create2 = __commonJS({
2690
2690
  const { __ref: ref } = state;
2691
2691
  if (!ref)
2692
2692
  return;
2693
- const dependentState = (0, import_utils30.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
2693
+ const dependentState = (0, import_utils24.deepClone)(ref, import_ignore.IGNORE_STATE_PARAMS);
2694
2694
  const newDepends = { [element.key]: dependentState };
2695
- ref.__depends = (0, import_utils30.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
2695
+ ref.__depends = (0, import_utils24.isObject)(ref.__depends) ? { ...ref.__depends, ...newDepends } : newDepends;
2696
2696
  return dependentState;
2697
2697
  };
2698
2698
  var checkForTypes = (element) => {
2699
2699
  const { state, __ref: ref } = element;
2700
- if ((0, import_utils30.isFunction)(state)) {
2700
+ if ((0, import_utils24.isFunction)(state)) {
2701
2701
  ref.__state = state;
2702
- return (0, import_utils30.exec)(state, element);
2703
- } else if ((0, import_utils30.is)(state)("string", "number")) {
2702
+ return (0, import_utils24.exec)(state, element);
2703
+ } else if ((0, import_utils24.is)(state)("string", "number")) {
2704
2704
  ref.__state = state;
2705
2705
  return {};
2706
2706
  } else if (state === true) {
@@ -2747,7 +2747,7 @@ var require_create2 = __commonJS({
2747
2747
  __children: {},
2748
2748
  __root: ref.__root ? ref.__root.state : state
2749
2749
  };
2750
- if ((0, import_utils30.isArray)(state)) {
2750
+ if ((0, import_utils24.isArray)(state)) {
2751
2751
  addProtoToArray(state, proto);
2752
2752
  } else {
2753
2753
  Object.setPrototypeOf(state, proto);
@@ -2814,17 +2814,17 @@ var require_state = __commonJS({
2814
2814
  state: () => state
2815
2815
  });
2816
2816
  module2.exports = __toCommonJS2(state_exports);
2817
- var import_state3 = require_cjs5();
2818
- var import_utils30 = require_cjs();
2817
+ var import_state2 = require_cjs5();
2818
+ var import_utils24 = require_cjs();
2819
2819
  var state = (params, element, node2) => {
2820
- const state2 = (0, import_utils30.exec)(params, element);
2821
- if ((0, import_utils30.isObject)(state2)) {
2820
+ const state2 = (0, import_utils24.exec)(params, element);
2821
+ if ((0, import_utils24.isObject)(state2)) {
2822
2822
  for (const param in state2) {
2823
- if (import_state3.IGNORE_STATE_PARAMS.includes(param))
2823
+ if (import_state2.IGNORE_STATE_PARAMS.includes(param))
2824
2824
  continue;
2825
2825
  if (!Object.hasOwnProperty.call(state2, param))
2826
2826
  continue;
2827
- element.state[param] = (0, import_utils30.exec)(state2[param], element);
2827
+ element.state[param] = (0, import_utils24.exec)(state2[param], element);
2828
2828
  }
2829
2829
  }
2830
2830
  return element;
@@ -2970,8 +2970,8 @@ var require_mixins = __commonJS({
2970
2970
  data: () => import_data.default,
2971
2971
  html: () => import_html.default,
2972
2972
  registry: () => import_registry.default,
2973
- state: () => import_state3.default,
2974
- style: () => import_style6.default,
2973
+ state: () => import_state2.default,
2974
+ style: () => import_style4.default,
2975
2975
  text: () => import_text.default
2976
2976
  });
2977
2977
  module2.exports = __toCommonJS2(mixins_exports);
@@ -2980,9 +2980,9 @@ var require_mixins = __commonJS({
2980
2980
  var import_content = __toESM2(require_content(), 1);
2981
2981
  var import_data = __toESM2(require_data(), 1);
2982
2982
  var import_html = __toESM2(require_html(), 1);
2983
- var import_style6 = __toESM2(require_style(), 1);
2983
+ var import_style4 = __toESM2(require_style(), 1);
2984
2984
  var import_text = __toESM2(require_text(), 1);
2985
- var import_state3 = __toESM2(require_state(), 1);
2985
+ var import_state2 = __toESM2(require_state(), 1);
2986
2986
  var import_registry = __toESM2(require_registry(), 1);
2987
2987
  __reExport2(mixins_exports, require_registry(), module2.exports);
2988
2988
  }
@@ -3027,7 +3027,7 @@ var require_methods2 = __commonJS({
3027
3027
  spotByPath: () => spotByPath
3028
3028
  });
3029
3029
  module2.exports = __toCommonJS2(methods_exports);
3030
- var import_utils30 = require_cjs();
3030
+ var import_utils24 = require_cjs();
3031
3031
  var import_tree = require_tree();
3032
3032
  var import_mixins = require_mixins();
3033
3033
  var spotByPath = function(path) {
@@ -3060,9 +3060,9 @@ var require_methods2 = __commonJS({
3060
3060
  };
3061
3061
  var remove = function(params) {
3062
3062
  const element = this;
3063
- if ((0, import_utils30.isFunction)(element.node.remove))
3063
+ if ((0, import_utils24.isFunction)(element.node.remove))
3064
3064
  element.node.remove();
3065
- else if (!(0, import_utils30.isProduction)()) {
3065
+ else if (!(0, import_utils24.isProduction)()) {
3066
3066
  console.warn("This item cant be removed");
3067
3067
  element.log();
3068
3068
  }
@@ -3102,12 +3102,12 @@ var require_methods2 = __commonJS({
3102
3102
  if (v === "state") {
3103
3103
  if (element.__ref && element.__ref.__hasRootState)
3104
3104
  return;
3105
- if ((0, import_utils30.isFunction)(val && val.parse))
3105
+ if ((0, import_utils24.isFunction)(val && val.parse))
3106
3106
  val = val.parse();
3107
3107
  } else if (v === "props") {
3108
3108
  const { __element, update, ...props4 } = element[v];
3109
3109
  obj[v] = props4;
3110
- } else if ((0, import_utils30.isDefined)(val))
3110
+ } else if ((0, import_utils24.isDefined)(val))
3111
3111
  obj[v] = val;
3112
3112
  });
3113
3113
  return obj;
@@ -3118,7 +3118,7 @@ var require_methods2 = __commonJS({
3118
3118
  for (const v in obj) {
3119
3119
  if (excl.includes(v))
3120
3120
  return;
3121
- if ((0, import_utils30.isObjectLike)(obj[v])) {
3121
+ if ((0, import_utils24.isObjectLike)(obj[v])) {
3122
3122
  obj[v] = parseDeep.call(obj[v], excl);
3123
3123
  }
3124
3124
  }
@@ -3236,18 +3236,18 @@ var require_inherit2 = __commonJS({
3236
3236
  inheritParentProps: () => inheritParentProps
3237
3237
  });
3238
3238
  module2.exports = __toCommonJS2(inherit_exports);
3239
- var import_utils30 = require_cjs();
3239
+ var import_utils24 = require_cjs();
3240
3240
  var objectizeStringProperty = (propValue) => {
3241
- if ((0, import_utils30.is)(propValue)("string", "number")) {
3241
+ if ((0, import_utils24.is)(propValue)("string", "number")) {
3242
3242
  return { inheritedString: propValue };
3243
3243
  }
3244
3244
  return propValue;
3245
3245
  };
3246
3246
  var inheritParentProps = (element, parent) => {
3247
3247
  let propsStack = [];
3248
- const parentProps = (0, import_utils30.exec)(parent, parent.state).props;
3248
+ const parentProps = (0, import_utils24.exec)(parent, parent.state).props;
3249
3249
  const matchParent = parent.props && parentProps[element.key];
3250
- const matchParentIsString = (0, import_utils30.isString)(matchParent);
3250
+ const matchParentIsString = (0, import_utils24.isString)(matchParent);
3251
3251
  const matchParentChildProps = parentProps && parentProps.childProps;
3252
3252
  if (matchParent) {
3253
3253
  if (matchParentIsString) {
@@ -3295,19 +3295,19 @@ var require_create3 = __commonJS({
3295
3295
  syncProps: () => syncProps
3296
3296
  });
3297
3297
  module2.exports = __toCommonJS2(create_exports);
3298
- var import_utils30 = require_cjs();
3298
+ var import_utils24 = require_cjs();
3299
3299
  var import_ignore = require_ignore2();
3300
3300
  var import_inherit = require_inherit2();
3301
3301
  var createPropsStack = (element, parent) => {
3302
3302
  const { props: props4, __ref } = element;
3303
3303
  const propsStack = __ref.__props = (0, import_inherit.inheritParentProps)(element, parent);
3304
- if ((0, import_utils30.isObject)(props4))
3304
+ if ((0, import_utils24.isObject)(props4))
3305
3305
  propsStack.push(props4);
3306
3306
  else if (props4 === "inherit" && parent.props)
3307
3307
  propsStack.push(parent.props);
3308
3308
  else if (props4)
3309
3309
  propsStack.push(props4);
3310
- if ((0, import_utils30.isArray)(__ref.__extend)) {
3310
+ if ((0, import_utils24.isArray)(__ref.__extend)) {
3311
3311
  __ref.__extend.forEach((extend) => {
3312
3312
  if (extend.props)
3313
3313
  propsStack.push(extend.props);
@@ -3322,12 +3322,12 @@ var require_create3 = __commonJS({
3322
3322
  props4.forEach((v) => {
3323
3323
  if (import_ignore.IGNORE_PROPS_PARAMS.includes(v))
3324
3324
  return;
3325
- const execProps = (0, import_utils30.exec)(v, element);
3326
- if ((0, import_utils30.isObject)(execProps) && execProps.__element)
3325
+ const execProps = (0, import_utils24.exec)(v, element);
3326
+ if ((0, import_utils24.isObject)(execProps) && execProps.__element)
3327
3327
  return;
3328
- element.props = (0, import_utils30.deepMerge)(
3328
+ element.props = (0, import_utils24.deepMerge)(
3329
3329
  mergedProps,
3330
- (0, import_utils30.deepClone)(execProps, import_ignore.IGNORE_PROPS_PARAMS),
3330
+ (0, import_utils24.deepClone)(execProps, import_ignore.IGNORE_PROPS_PARAMS),
3331
3331
  import_ignore.IGNORE_PROPS_PARAMS
3332
3332
  );
3333
3333
  });
@@ -3448,7 +3448,7 @@ var require_object2 = __commonJS({
3448
3448
  __export2(object_exports, {
3449
3449
  METHODS_EXL: () => METHODS_EXL,
3450
3450
  clone: () => clone,
3451
- deepClone: () => deepClone5,
3451
+ deepClone: () => deepClone4,
3452
3452
  deepMerge: () => deepMerge4,
3453
3453
  flattenRecursive: () => flattenRecursive,
3454
3454
  mergeAndCloneIfArray: () => mergeAndCloneIfArray,
@@ -3456,17 +3456,17 @@ var require_object2 = __commonJS({
3456
3456
  mergeIfExisted: () => mergeIfExisted,
3457
3457
  overwrite: () => overwrite,
3458
3458
  overwriteDeep: () => overwriteDeep,
3459
- overwriteShallow: () => overwriteShallow3
3459
+ overwriteShallow: () => overwriteShallow2
3460
3460
  });
3461
3461
  module2.exports = __toCommonJS2(object_exports);
3462
- var import_utils30 = require_cjs();
3463
- var import_state3 = require_cjs5();
3462
+ var import_utils24 = require_cjs();
3463
+ var import_state2 = require_cjs5();
3464
3464
  var import_props = require_props();
3465
3465
  var import_methods = require_methods2();
3466
- var METHODS_EXL = (0, import_utils30.joinArrays)(
3466
+ var METHODS_EXL = (0, import_utils24.joinArrays)(
3467
3467
  ["node", "state", "context", "extend"],
3468
3468
  import_methods.METHODS,
3469
- import_state3.IGNORE_STATE_PARAMS,
3469
+ import_state2.IGNORE_STATE_PARAMS,
3470
3470
  import_props.IGNORE_PROPS_PARAMS
3471
3471
  );
3472
3472
  var deepMerge4 = (element, extend, exclude = METHODS_EXL) => {
@@ -3477,7 +3477,7 @@ var require_object2 = __commonJS({
3477
3477
  const extendProp = extend[e];
3478
3478
  if (elementProp === void 0) {
3479
3479
  element[e] = extendProp;
3480
- } else if ((0, import_utils30.isObjectLike)(elementProp) && (0, import_utils30.isObject)(extendProp)) {
3480
+ } else if ((0, import_utils24.isObjectLike)(elementProp) && (0, import_utils24.isObject)(extendProp)) {
3481
3481
  deepMerge4(elementProp, extendProp);
3482
3482
  }
3483
3483
  }
@@ -3492,17 +3492,17 @@ var require_object2 = __commonJS({
3492
3492
  }
3493
3493
  return o;
3494
3494
  };
3495
- var deepClone5 = (obj, exclude = METHODS_EXL) => {
3496
- const o = (0, import_utils30.isArray)(obj) ? [] : {};
3495
+ var deepClone4 = (obj, exclude = METHODS_EXL) => {
3496
+ const o = (0, import_utils24.isArray)(obj) ? [] : {};
3497
3497
  for (const e in obj) {
3498
3498
  if (exclude.includes(e))
3499
3499
  continue;
3500
3500
  let objProp = obj[e];
3501
- if (e === "extend" && (0, import_utils30.isArray)(objProp)) {
3501
+ if (e === "extend" && (0, import_utils24.isArray)(objProp)) {
3502
3502
  objProp = mergeArray(objProp, exclude);
3503
3503
  }
3504
- if ((0, import_utils30.isObjectLike)(objProp)) {
3505
- o[e] = deepClone5(objProp, exclude);
3504
+ if ((0, import_utils24.isObjectLike)(objProp)) {
3505
+ o[e] = deepClone4(objProp, exclude);
3506
3506
  } else
3507
3507
  o[e] = objProp;
3508
3508
  }
@@ -3526,7 +3526,7 @@ var require_object2 = __commonJS({
3526
3526
  }
3527
3527
  return changes;
3528
3528
  };
3529
- var overwriteShallow3 = (obj, params, exclude = METHODS_EXL) => {
3529
+ var overwriteShallow2 = (obj, params, exclude = METHODS_EXL) => {
3530
3530
  for (const e in params) {
3531
3531
  if (exclude.includes(e))
3532
3532
  continue;
@@ -3540,7 +3540,7 @@ var require_object2 = __commonJS({
3540
3540
  continue;
3541
3541
  const objProp = obj[e];
3542
3542
  const paramsProp = params[e];
3543
- if ((0, import_utils30.isObjectLike)(objProp) && (0, import_utils30.isObjectLike)(paramsProp)) {
3543
+ if ((0, import_utils24.isObjectLike)(objProp) && (0, import_utils24.isObjectLike)(paramsProp)) {
3544
3544
  overwriteDeep(objProp, paramsProp);
3545
3545
  } else if (paramsProp !== void 0) {
3546
3546
  obj[e] = paramsProp;
@@ -3549,15 +3549,15 @@ var require_object2 = __commonJS({
3549
3549
  return obj;
3550
3550
  };
3551
3551
  var mergeIfExisted = (a, b) => {
3552
- if ((0, import_utils30.isObjectLike)(a) && (0, import_utils30.isObjectLike)(b))
3552
+ if ((0, import_utils24.isObjectLike)(a) && (0, import_utils24.isObjectLike)(b))
3553
3553
  return deepMerge4(a, b);
3554
3554
  return a || b;
3555
3555
  };
3556
3556
  var mergeArray = (arr, exclude = ["parent", "node", "__element", "state", "context", "__ref"]) => {
3557
- return arr.reduce((a, c) => deepMerge4(a, deepClone5(c, exclude)), {});
3557
+ return arr.reduce((a, c) => deepMerge4(a, deepClone4(c, exclude)), {});
3558
3558
  };
3559
3559
  var mergeAndCloneIfArray = (obj) => {
3560
- return (0, import_utils30.isArray)(obj) ? mergeArray(obj) : deepClone5(obj);
3560
+ return (0, import_utils24.isArray)(obj) ? mergeArray(obj) : deepClone4(obj);
3561
3561
  };
3562
3562
  var flattenRecursive = (param, prop, stack = []) => {
3563
3563
  const objectized = mergeAndCloneIfArray(param);
@@ -3613,7 +3613,7 @@ var require_extendUtils = __commonJS({
3613
3613
  setHashedExtend: () => setHashedExtend
3614
3614
  });
3615
3615
  module2.exports = __toCommonJS2(extendUtils_exports);
3616
- var import_utils30 = require_cjs();
3616
+ var import_utils24 = require_cjs();
3617
3617
  var ENV2 = "development";
3618
3618
  var generateHash = () => Math.random().toString(36).substring(2);
3619
3619
  var extendStackRegistry = {};
@@ -3623,7 +3623,7 @@ var require_extendUtils = __commonJS({
3623
3623
  };
3624
3624
  var setHashedExtend = (extend, stack) => {
3625
3625
  const hash2 = generateHash();
3626
- if (!(0, import_utils30.isString)(extend)) {
3626
+ if (!(0, import_utils24.isString)(extend)) {
3627
3627
  extend.__hash = hash2;
3628
3628
  }
3629
3629
  extendStackRegistry[hash2] = stack;
@@ -3649,7 +3649,7 @@ var require_extendUtils = __commonJS({
3649
3649
  var flattenExtend = (extend, stack) => {
3650
3650
  if (!extend)
3651
3651
  return stack;
3652
- if ((0, import_utils30.isArray)(extend))
3652
+ if ((0, import_utils24.isArray)(extend))
3653
3653
  return extractArrayExtend(extend, stack);
3654
3654
  stack.push(extend);
3655
3655
  if (extend.extend)
@@ -3662,9 +3662,9 @@ var require_extendUtils = __commonJS({
3662
3662
  if (["parent", "node", "__element"].indexOf(prop) > -1)
3663
3663
  continue;
3664
3664
  const objProp = obj[prop];
3665
- if ((0, import_utils30.isObject)(objProp)) {
3665
+ if ((0, import_utils24.isObject)(objProp)) {
3666
3666
  o[prop] = deepCloneExtend(objProp);
3667
- } else if ((0, import_utils30.isArray)(objProp)) {
3667
+ } else if ((0, import_utils24.isArray)(objProp)) {
3668
3668
  o[prop] = objProp.map((x) => x);
3669
3669
  } else
3670
3670
  o[prop] = objProp;
@@ -3679,14 +3679,14 @@ var require_extendUtils = __commonJS({
3679
3679
  const extendProp = extend[e];
3680
3680
  if (elementProp === void 0) {
3681
3681
  element[e] = extendProp;
3682
- } else if ((0, import_utils30.isObject)(elementProp) && (0, import_utils30.isObject)(extendProp)) {
3682
+ } else if ((0, import_utils24.isObject)(elementProp) && (0, import_utils24.isObject)(extendProp)) {
3683
3683
  deepMergeExtend(elementProp, extendProp);
3684
- } else if ((0, import_utils30.isArray)(elementProp) && (0, import_utils30.isArray)(extendProp)) {
3684
+ } else if ((0, import_utils24.isArray)(elementProp) && (0, import_utils24.isArray)(extendProp)) {
3685
3685
  element[e] = elementProp.concat(extendProp);
3686
- } else if ((0, import_utils30.isArray)(elementProp) && (0, import_utils30.isObject)(extendProp)) {
3686
+ } else if ((0, import_utils24.isArray)(elementProp) && (0, import_utils24.isObject)(extendProp)) {
3687
3687
  const obj = deepMergeExtend({}, elementProp);
3688
3688
  element[e] = deepMergeExtend(obj, extendProp);
3689
- } else if (elementProp === void 0 && (0, import_utils30.isFunction)(extendProp)) {
3689
+ } else if (elementProp === void 0 && (0, import_utils24.isFunction)(extendProp)) {
3690
3690
  element[e] = extendProp;
3691
3691
  }
3692
3692
  }
@@ -3699,7 +3699,7 @@ var require_extendUtils = __commonJS({
3699
3699
  };
3700
3700
  var fallbackStringExtend = (extend, context, options) => {
3701
3701
  const COMPONENTS = context && context.components || options.components;
3702
- if ((0, import_utils30.isString)(extend)) {
3702
+ if ((0, import_utils24.isString)(extend)) {
3703
3703
  if (COMPONENTS && COMPONENTS[extend]) {
3704
3704
  return COMPONENTS[extend];
3705
3705
  } else {
@@ -3729,11 +3729,11 @@ var require_extendUtils = __commonJS({
3729
3729
  var replaceStringsWithComponents = (stack, context, options) => {
3730
3730
  const COMPONENTS = context && context.components || options.components;
3731
3731
  return stack.map((v) => {
3732
- if ((0, import_utils30.isString)(v)) {
3732
+ if ((0, import_utils24.isString)(v)) {
3733
3733
  const component = COMPONENTS[v];
3734
3734
  return component;
3735
3735
  }
3736
- if ((0, import_utils30.isString)(v.extend)) {
3736
+ if ((0, import_utils24.isString)(v.extend)) {
3737
3737
  v.extend = COMPONENTS[v.extend];
3738
3738
  return { ...getExtendMerged(v.extend), ...v };
3739
3739
  }
@@ -3769,27 +3769,27 @@ var require_extend = __commonJS({
3769
3769
  applyExtend: () => applyExtend
3770
3770
  });
3771
3771
  module2.exports = __toCommonJS2(extend_exports);
3772
- var import_utils30 = require_cjs();
3773
- var import_utils210 = require_utils();
3772
+ var import_utils24 = require_cjs();
3773
+ var import_utils25 = require_utils();
3774
3774
  var ENV2 = "development";
3775
3775
  var applyExtend = (element, parent, options = {}) => {
3776
- if ((0, import_utils30.isFunction)(element))
3777
- element = (0, import_utils30.exec)(element, parent);
3776
+ if ((0, import_utils24.isFunction)(element))
3777
+ element = (0, import_utils24.exec)(element, parent);
3778
3778
  let { extend, props: props4, context, __ref } = element;
3779
- extend = (0, import_utils210.fallbackStringExtend)(extend, context, options);
3780
- const extendStack = (0, import_utils210.getExtendStack)(extend);
3779
+ extend = (0, import_utils25.fallbackStringExtend)(extend, context, options);
3780
+ const extendStack = (0, import_utils25.getExtendStack)(extend);
3781
3781
  if (ENV2 !== "test" || ENV2 !== "development")
3782
3782
  delete element.extend;
3783
3783
  let childExtendStack = [];
3784
3784
  if (parent) {
3785
3785
  element.parent = parent;
3786
3786
  if (!options.ignoreChildExtend && !(props4 && props4.ignoreChildExtend)) {
3787
- childExtendStack = (0, import_utils210.getExtendStack)(parent.childExtend);
3787
+ childExtendStack = (0, import_utils25.getExtendStack)(parent.childExtend);
3788
3788
  const ignoreChildExtendRecursive = props4 && props4.ignoreChildExtendRecursive;
3789
3789
  if (parent.childExtendRecursive && !ignoreChildExtendRecursive) {
3790
3790
  const canExtendRecursive = element.key !== "__text";
3791
3791
  if (canExtendRecursive) {
3792
- const childExtendRecursiveStack = (0, import_utils210.getExtendStack)(parent.childExtendRecursive);
3792
+ const childExtendRecursiveStack = (0, import_utils25.getExtendStack)(parent.childExtendRecursive);
3793
3793
  childExtendStack = childExtendStack.concat(childExtendRecursiveStack);
3794
3794
  element.childExtendRecursive = parent.childExtendRecursive;
3795
3795
  }
@@ -3800,7 +3800,7 @@ var require_extend = __commonJS({
3800
3800
  const childExtendLength = childExtendStack.length;
3801
3801
  let stack = [];
3802
3802
  if (extendLength && childExtendLength) {
3803
- stack = (0, import_utils210.jointStacks)(extendStack, childExtendStack);
3803
+ stack = (0, import_utils25.jointStacks)(extendStack, childExtendStack);
3804
3804
  } else if (extendLength) {
3805
3805
  stack = extendStack;
3806
3806
  } else if (childExtendLength) {
@@ -3808,20 +3808,20 @@ var require_extend = __commonJS({
3808
3808
  } else if (!options.extend)
3809
3809
  return element;
3810
3810
  if (options.extend) {
3811
- const defaultOptionsExtend = (0, import_utils210.getExtendStack)(options.extend);
3811
+ const defaultOptionsExtend = (0, import_utils25.getExtendStack)(options.extend);
3812
3812
  stack = [].concat(stack, defaultOptionsExtend);
3813
3813
  }
3814
3814
  if (__ref)
3815
3815
  __ref.__extend = stack;
3816
- const findAndReplaceStrings = (0, import_utils210.replaceStringsWithComponents)(stack, context, options);
3817
- let mergedExtend = (0, import_utils210.cloneAndMergeArrayExtend)(findAndReplaceStrings);
3816
+ const findAndReplaceStrings = (0, import_utils25.replaceStringsWithComponents)(stack, context, options);
3817
+ let mergedExtend = (0, import_utils25.cloneAndMergeArrayExtend)(findAndReplaceStrings);
3818
3818
  const COMPONENTS = context && context.components || options.components;
3819
- const component = (0, import_utils30.exec)(element.component || mergedExtend.component, element);
3819
+ const component = (0, import_utils24.exec)(element.component || mergedExtend.component, element);
3820
3820
  if (component && COMPONENTS && COMPONENTS[component]) {
3821
- const componentExtend = (0, import_utils210.cloneAndMergeArrayExtend)((0, import_utils210.getExtendStack)(COMPONENTS[component]));
3822
- mergedExtend = (0, import_utils210.deepMergeExtend)(componentExtend, mergedExtend);
3821
+ const componentExtend = (0, import_utils25.cloneAndMergeArrayExtend)((0, import_utils25.getExtendStack)(COMPONENTS[component]));
3822
+ mergedExtend = (0, import_utils25.deepMergeExtend)(componentExtend, mergedExtend);
3823
3823
  }
3824
- return (0, import_utils210.deepMergeExtend)(element, mergedExtend);
3824
+ return (0, import_utils25.deepMergeExtend)(element, mergedExtend);
3825
3825
  };
3826
3826
  }
3827
3827
  });
@@ -3860,11 +3860,11 @@ var require_component = __commonJS({
3860
3860
  overwriteVariant: () => overwriteVariant
3861
3861
  });
3862
3862
  module2.exports = __toCommonJS2(component_exports);
3863
- var import_utils30 = require_cjs();
3863
+ var import_utils24 = require_cjs();
3864
3864
  var import_extend = require_extend();
3865
3865
  var ENV2 = "development";
3866
3866
  var checkIfKeyIsComponent = (key) => {
3867
- const isFirstKeyString = (0, import_utils30.isString)(key);
3867
+ const isFirstKeyString = (0, import_utils24.isString)(key);
3868
3868
  if (!isFirstKeyString)
3869
3869
  return;
3870
3870
  const firstCharKey = key.slice(0, 1);
@@ -3872,7 +3872,7 @@ var require_component = __commonJS({
3872
3872
  };
3873
3873
  var addAdditionalExtend = (newExtend, element) => {
3874
3874
  const { extend } = element;
3875
- const preserveExtend = (0, import_utils30.isArray)(extend) ? extend : [extend];
3875
+ const preserveExtend = (0, import_utils24.isArray)(extend) ? extend : [extend];
3876
3876
  return {
3877
3877
  ...element,
3878
3878
  extend: [newExtend].concat(preserveExtend)
@@ -3895,10 +3895,10 @@ var require_component = __commonJS({
3895
3895
  };
3896
3896
  } else if (extend) {
3897
3897
  addAdditionalExtend(extendKey, element);
3898
- } else if ((0, import_utils30.isFunction)(element)) {
3898
+ } else if ((0, import_utils24.isFunction)(element)) {
3899
3899
  return {
3900
3900
  extend: extendKey,
3901
- props: { ...(0, import_utils30.exec)(element, parent) }
3901
+ props: { ...(0, import_utils24.exec)(element, parent) }
3902
3902
  };
3903
3903
  }
3904
3904
  };
@@ -3911,8 +3911,8 @@ var require_component = __commonJS({
3911
3911
  return;
3912
3912
  const { components } = context;
3913
3913
  const { extend } = element;
3914
- const execExtend = (0, import_utils30.exec)(extend, element);
3915
- if ((0, import_utils30.isString)(execExtend)) {
3914
+ const execExtend = (0, import_utils24.exec)(extend, element);
3915
+ if ((0, import_utils24.isString)(execExtend)) {
3916
3916
  if (components[execExtend])
3917
3917
  element.extend = components[execExtend];
3918
3918
  else {
@@ -3925,29 +3925,29 @@ var require_component = __commonJS({
3925
3925
  }
3926
3926
  };
3927
3927
  var isVariant = (param) => {
3928
- if (!(0, import_utils30.isString)(param))
3928
+ if (!(0, import_utils24.isString)(param))
3929
3929
  return;
3930
3930
  const firstCharKey = param.slice(0, 1);
3931
3931
  return firstCharKey === ".";
3932
3932
  };
3933
3933
  var hasVariantProp = (element) => {
3934
3934
  const { props: props4 } = element;
3935
- if ((0, import_utils30.isObject)(props4) && (0, import_utils30.isString)(props4.variant))
3935
+ if ((0, import_utils24.isObject)(props4) && (0, import_utils24.isString)(props4.variant))
3936
3936
  return true;
3937
3937
  };
3938
3938
  var overwriteVariant = (element, variant, variantProps) => {
3939
3939
  let variantElement = element[variant];
3940
3940
  if (!variantElement)
3941
3941
  return;
3942
- const props4 = (0, import_utils30.isObject)(variantProps) ? variantProps : {};
3943
- if ((0, import_utils30.isString)(variantElement)) {
3942
+ const props4 = (0, import_utils24.isObject)(variantProps) ? variantProps : {};
3943
+ if ((0, import_utils24.isString)(variantElement)) {
3944
3944
  variantElement = {
3945
3945
  extend: [{ props: props4 }, variantElement]
3946
3946
  };
3947
3947
  } else if (variantElement.extend) {
3948
3948
  variantElement = addAdditionalExtend({ props: props4 }, variantElement);
3949
3949
  }
3950
- return (0, import_utils30.overwriteDeep)(element, (0, import_extend.applyExtend)(variantElement));
3950
+ return (0, import_utils24.overwriteDeep)(element, (0, import_extend.applyExtend)(variantElement));
3951
3951
  };
3952
3952
  var applyVariant = (element) => {
3953
3953
  const { props: props4 } = element;
@@ -4022,8 +4022,8 @@ var require_iterate = __commonJS({
4022
4022
  throughUpdatedExec: () => throughUpdatedExec
4023
4023
  });
4024
4024
  module2.exports = __toCommonJS2(iterate_exports);
4025
- var import_utils30 = require_cjs();
4026
- var import_utils210 = require_utils();
4025
+ var import_utils24 = require_cjs();
4026
+ var import_utils25 = require_utils();
4027
4027
  var import_methods = require_methods2();
4028
4028
  var throughInitialExec = (element, exclude = {}) => {
4029
4029
  const { __ref: ref } = element;
@@ -4031,13 +4031,13 @@ var require_iterate = __commonJS({
4031
4031
  if (exclude[param])
4032
4032
  continue;
4033
4033
  const prop = element[param];
4034
- if ((0, import_utils30.isFunction)(prop) && !(0, import_methods.isMethod)(param) && !(0, import_utils210.isVariant)(param)) {
4034
+ if ((0, import_utils24.isFunction)(prop) && !(0, import_methods.isMethod)(param) && !(0, import_utils25.isVariant)(param)) {
4035
4035
  ref.__exec[param] = prop;
4036
4036
  element[param] = prop(element, element.state);
4037
4037
  }
4038
4038
  }
4039
4039
  };
4040
- var throughUpdatedExec = (element, options = { excludes: import_utils210.METHODS_EXL }) => {
4040
+ var throughUpdatedExec = (element, options = { excludes: import_utils25.METHODS_EXL }) => {
4041
4041
  const { __ref: ref } = element;
4042
4042
  const changes = {};
4043
4043
  for (const param in ref.__exec) {
@@ -4046,13 +4046,13 @@ var require_iterate = __commonJS({
4046
4046
  if (isDefinedParam)
4047
4047
  continue;
4048
4048
  const newExec = ref.__exec[param](element, element.state, element.context);
4049
- const execReturnsString = (0, import_utils30.isString)(newExec) || (0, import_utils30.isNumber)(newExec);
4049
+ const execReturnsString = (0, import_utils24.isString)(newExec) || (0, import_utils24.isNumber)(newExec);
4050
4050
  if (prop && prop.node && execReturnsString) {
4051
- (0, import_utils210.overwrite)(prop, { text: newExec }, options);
4051
+ (0, import_utils25.overwrite)(prop, { text: newExec }, options);
4052
4052
  } else if (newExec !== prop) {
4053
- if ((0, import_utils210.checkIfKeyIsComponent)(param)) {
4054
- const { extend, ...newElem } = (0, import_utils210.extendizeByKey)(newExec, element, param);
4055
- (0, import_utils210.overwrite)(prop, newElem, options);
4053
+ if ((0, import_utils25.checkIfKeyIsComponent)(param)) {
4054
+ const { extend, ...newElem } = (0, import_utils25.extendizeByKey)(newExec, element, param);
4055
+ (0, import_utils25.overwrite)(prop, newElem, options);
4056
4056
  } else {
4057
4057
  ref.__cached[param] = changes[param] = prop;
4058
4058
  element[param] = newExec;
@@ -4064,16 +4064,16 @@ var require_iterate = __commonJS({
4064
4064
  var throughInitialDefine = (element) => {
4065
4065
  const { define, context, __ref: ref } = element;
4066
4066
  let defineObj = {};
4067
- const hasGlobalDefine = context && (0, import_utils30.isObject)(context.define);
4068
- if ((0, import_utils30.isObject)(define))
4067
+ const hasGlobalDefine = context && (0, import_utils24.isObject)(context.define);
4068
+ if ((0, import_utils24.isObject)(define))
4069
4069
  defineObj = { ...define };
4070
4070
  if (hasGlobalDefine)
4071
4071
  defineObj = { ...defineObj, ...context.define };
4072
4072
  for (const param in defineObj) {
4073
4073
  let elementProp = element[param];
4074
- if ((0, import_utils30.isFunction)(elementProp) && !(0, import_methods.isMethod)(param) && !(0, import_utils210.isVariant)(param)) {
4074
+ if ((0, import_utils24.isFunction)(elementProp) && !(0, import_methods.isMethod)(param) && !(0, import_utils25.isVariant)(param)) {
4075
4075
  ref.__exec[param] = elementProp;
4076
- const execParam2 = elementProp = (0, import_utils30.exec)(elementProp, element);
4076
+ const execParam2 = elementProp = (0, import_utils24.exec)(elementProp, element);
4077
4077
  if (execParam2) {
4078
4078
  elementProp = element[param] = execParam2.parse ? execParam2.parse() : execParam2;
4079
4079
  ref.__defineCache[param] = elementProp;
@@ -4089,15 +4089,15 @@ var require_iterate = __commonJS({
4089
4089
  const { context, define, __ref: ref } = element;
4090
4090
  const changes = {};
4091
4091
  let obj = {};
4092
- if ((0, import_utils30.isObject)(define))
4092
+ if ((0, import_utils24.isObject)(define))
4093
4093
  obj = { ...define };
4094
- if ((0, import_utils30.isObject)(context && context.define))
4094
+ if ((0, import_utils24.isObject)(context && context.define))
4095
4095
  obj = { ...obj, ...context.define };
4096
4096
  for (const param in obj) {
4097
4097
  const execParam = ref.__exec[param];
4098
4098
  if (execParam)
4099
4099
  ref.__defineCache[param] = execParam(element, element.state, element.context);
4100
- const cached = (0, import_utils30.exec)(ref.__defineCache[param], element);
4100
+ const cached = (0, import_utils24.exec)(ref.__defineCache[param], element);
4101
4101
  const newExecParam = obj[param](cached, element, element.state, element.context);
4102
4102
  if (newExecParam)
4103
4103
  element[param] = newExecParam;
@@ -4133,7 +4133,7 @@ var require_applyParam = __commonJS({
4133
4133
  applyParam: () => applyParam
4134
4134
  });
4135
4135
  module2.exports = __toCommonJS2(applyParam_exports);
4136
- var import_utils30 = require_cjs();
4136
+ var import_utils24 = require_cjs();
4137
4137
  var import_mixins = require_mixins();
4138
4138
  var applyParam = (param, element, options) => {
4139
4139
  const { node: node2, context, __ref: ref } = element;
@@ -4146,7 +4146,7 @@ var require_applyParam = __commonJS({
4146
4146
  if (!ref.__if)
4147
4147
  return;
4148
4148
  if (isGlobalTransformer && !hasContextDefine) {
4149
- if ((0, import_utils30.isFunction)(isGlobalTransformer)) {
4149
+ if ((0, import_utils24.isFunction)(isGlobalTransformer)) {
4150
4150
  isGlobalTransformer(prop, element, node2, options);
4151
4151
  return;
4152
4152
  }
@@ -4193,7 +4193,7 @@ var require_node2 = __commonJS({
4193
4193
  default: () => node_default
4194
4194
  });
4195
4195
  module2.exports = __toCommonJS2(node_exports);
4196
- var import_utils30 = require_cjs();
4196
+ var import_utils24 = require_cjs();
4197
4197
  var import_event = require_cjs3();
4198
4198
  var import_render = require_cjs4();
4199
4199
  var import_methods = require_methods2();
@@ -4201,7 +4201,7 @@ var require_node2 = __commonJS({
4201
4201
  var import_iterate = require_iterate();
4202
4202
  var import_mixins = require_mixins();
4203
4203
  var import_applyParam = require_applyParam();
4204
- var import_utils210 = require_utils();
4204
+ var import_utils25 = require_utils();
4205
4205
  var ENV2 = "development";
4206
4206
  var createNode = (element, options) => {
4207
4207
  let { node: node2, tag, __ref: ref } = element;
@@ -4218,23 +4218,23 @@ var require_node2 = __commonJS({
4218
4218
  }
4219
4219
  if (ENV2 === "test" || ENV2 === "development" || options.alowRefReference) {
4220
4220
  node2.ref = element;
4221
- if ((0, import_utils30.isFunction)(node2.setAttribute))
4221
+ if ((0, import_utils24.isFunction)(node2.setAttribute))
4222
4222
  node2.setAttribute("key", element.key);
4223
4223
  }
4224
4224
  if (element.tag !== "string" || element.tag !== "fragment") {
4225
4225
  (0, import_iterate.throughInitialDefine)(element);
4226
4226
  (0, import_iterate.throughInitialExec)(element);
4227
- if (isNewNode && (0, import_utils30.isObject)(element.on))
4227
+ if (isNewNode && (0, import_utils24.isObject)(element.on))
4228
4228
  (0, import_event.applyEventsOnNode)(element);
4229
4229
  for (const param in element) {
4230
4230
  const prop = element[param];
4231
- if ((0, import_utils30.isUndefined)(prop) || (0, import_methods.isMethod)(param) || (0, import_utils210.isVariant)(param) || (0, import_utils30.isObject)(import_mixins.registry[param]))
4231
+ if ((0, import_utils24.isUndefined)(prop) || (0, import_methods.isMethod)(param) || (0, import_utils25.isVariant)(param) || (0, import_utils24.isObject)(import_mixins.registry[param]))
4232
4232
  continue;
4233
4233
  const isElement = (0, import_applyParam.applyParam)(param, element, options);
4234
4234
  if (isElement) {
4235
4235
  const { hasDefine, hasContextDefine } = isElement;
4236
4236
  if (element[param] && !hasDefine && !hasContextDefine) {
4237
- const createAsync = () => (0, import_create.default)((0, import_utils30.exec)(prop, element), element, param, options);
4237
+ const createAsync = () => (0, import_create.default)((0, import_utils24.exec)(prop, element), element, param, options);
4238
4238
  if (element.props && element.props.lazyLoad || options.lazyLoad) {
4239
4239
  window.requestAnimationFrame(() => createAsync());
4240
4240
  } else
@@ -4275,7 +4275,7 @@ var require_methods3 = __commonJS({
4275
4275
  DEFAULT_METHODS: () => DEFAULT_METHODS
4276
4276
  });
4277
4277
  module2.exports = __toCommonJS2(methods_exports);
4278
- var import_utils30 = require_cjs();
4278
+ var import_utils24 = require_cjs();
4279
4279
  var DEFAULT_METHODS = {
4280
4280
  key: {},
4281
4281
  tag: {},
@@ -4296,7 +4296,7 @@ var require_methods3 = __commonJS({
4296
4296
  text: (element, state) => {
4297
4297
  element.ref.text = {
4298
4298
  tag: "text",
4299
- text: (0, import_utils30.exec)(element.text, element, state)
4299
+ text: (0, import_utils24.exec)(element.text, element, state)
4300
4300
  };
4301
4301
  },
4302
4302
  innerHTML: {},
@@ -4533,19 +4533,19 @@ var require_update2 = __commonJS({
4533
4533
  default: () => update_default
4534
4534
  });
4535
4535
  module2.exports = __toCommonJS2(update_exports);
4536
- var import_utils30 = require_cjs();
4536
+ var import_utils24 = require_cjs();
4537
4537
  var import_event = require_cjs3();
4538
4538
  var import_methods = require_methods2();
4539
4539
  var import_props = require_props();
4540
- var import_state3 = require_cjs5();
4541
- var import_utils210 = require_utils();
4540
+ var import_state2 = require_cjs5();
4541
+ var import_utils25 = require_utils();
4542
4542
  var import_create = __toESM2(require_create4(), 1);
4543
4543
  var import_iterate = require_iterate();
4544
4544
  var import_mixins = require_mixins();
4545
4545
  var import_applyParam = require_applyParam();
4546
4546
  var import_options3 = __toESM2(require_options(), 1);
4547
4547
  var snapshot = {
4548
- snapshotId: import_utils30.createSnapshotId
4548
+ snapshotId: import_utils24.createSnapshotId
4549
4549
  };
4550
4550
  var UPDATE_DEFAULT_OPTIONS = {
4551
4551
  stackChanges: false,
@@ -4553,7 +4553,7 @@ var require_update2 = __commonJS({
4553
4553
  preventRecursive: false,
4554
4554
  currentSnapshot: false,
4555
4555
  calleeElement: false,
4556
- excludes: import_utils210.METHODS_EXL
4556
+ excludes: import_utils25.METHODS_EXL
4557
4557
  };
4558
4558
  var update = function(params = {}, options = UPDATE_DEFAULT_OPTIONS) {
4559
4559
  const element = this;
@@ -4562,14 +4562,14 @@ var require_update2 = __commonJS({
4562
4562
  if (preventInheritAtCurrentState && preventInheritAtCurrentState.__element === element)
4563
4563
  return;
4564
4564
  if (!excludes)
4565
- (0, import_utils30.merge)(options, UPDATE_DEFAULT_OPTIONS);
4565
+ (0, import_utils24.merge)(options, UPDATE_DEFAULT_OPTIONS);
4566
4566
  let ref = element.__ref;
4567
4567
  if (!ref)
4568
4568
  ref = element.__ref = {};
4569
4569
  const [snapshotOnCallee, calleeElement, snapshotHasUpdated] = captureSnapshot(element, options);
4570
4570
  if (snapshotHasUpdated)
4571
4571
  return;
4572
- if ((0, import_utils30.isString)(params) || (0, import_utils30.isNumber)(params)) {
4572
+ if ((0, import_utils24.isString)(params) || (0, import_utils24.isNumber)(params)) {
4573
4573
  params = { text: params };
4574
4574
  }
4575
4575
  const ifFails = checkIfOnUpdate(element, parent, options);
@@ -4580,7 +4580,7 @@ var require_update2 = __commonJS({
4580
4580
  return;
4581
4581
  if (ref.__if && !options.preventPropsUpdate) {
4582
4582
  const hasParentProps = parent.props && (parent.props[key] || parent.props.childProps);
4583
- const hasFunctionInProps = ref.__props.filter((v) => (0, import_utils30.isFunction)(v));
4583
+ const hasFunctionInProps = ref.__props.filter((v) => (0, import_utils24.isFunction)(v));
4584
4584
  const props4 = params.props || hasParentProps || hasFunctionInProps.length;
4585
4585
  if (props4)
4586
4586
  (0, import_props.updateProps)(props4, element, parent);
@@ -4593,11 +4593,11 @@ var require_update2 = __commonJS({
4593
4593
  if (initUpdateReturns === false)
4594
4594
  return element;
4595
4595
  }
4596
- const overwriteChanges = (0, import_utils30.overwriteDeep)(element, params, import_utils210.METHODS_EXL);
4596
+ const overwriteChanges = (0, import_utils24.overwriteDeep)(element, params, import_utils25.METHODS_EXL);
4597
4597
  const execChanges = (0, import_iterate.throughUpdatedExec)(element, { ignore: UPDATE_DEFAULT_OPTIONS });
4598
4598
  const definedChanges = (0, import_iterate.throughUpdatedDefine)(element);
4599
4599
  if (options.stackChanges && element.__stackChanges) {
4600
- const stackChanges = (0, import_utils30.merge)(definedChanges, (0, import_utils30.merge)(execChanges, overwriteChanges));
4600
+ const stackChanges = (0, import_utils24.merge)(definedChanges, (0, import_utils24.merge)(execChanges, overwriteChanges));
4601
4601
  element.__stackChanges.push(stackChanges);
4602
4602
  }
4603
4603
  if (!ref.__if)
@@ -4608,16 +4608,16 @@ var require_update2 = __commonJS({
4608
4608
  for (const param in element) {
4609
4609
  const prop = element[param];
4610
4610
  const hasOnlyUpdateFalsy = options.onlyUpdate && (options.onlyUpdate !== param || !element.lookup(options.onlyUpdate));
4611
- const isInPreventUpdate = (0, import_utils30.isArray)(options.preventUpdate) && options.preventUpdate.includes(param);
4612
- const isInPreventDefineUpdate = (0, import_utils30.isArray)(options.preventDefineUpdate) && options.preventDefineUpdate.includes(param);
4613
- if ((0, import_utils30.isUndefined)(prop) || hasOnlyUpdateFalsy || isInPreventUpdate || isInPreventDefineUpdate || options.preventDefineUpdate === true || options.preventDefineUpdate === param || options.preventContentUpdate && param === "content" || (options.preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param) || (0, import_utils30.isObject)(import_mixins.registry[param]) || (0, import_utils210.isVariant)(param))
4611
+ const isInPreventUpdate = (0, import_utils24.isArray)(options.preventUpdate) && options.preventUpdate.includes(param);
4612
+ const isInPreventDefineUpdate = (0, import_utils24.isArray)(options.preventDefineUpdate) && options.preventDefineUpdate.includes(param);
4613
+ if ((0, import_utils24.isUndefined)(prop) || hasOnlyUpdateFalsy || isInPreventUpdate || isInPreventDefineUpdate || options.preventDefineUpdate === true || options.preventDefineUpdate === param || options.preventContentUpdate && param === "content" || (options.preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param) || (0, import_utils24.isObject)(import_mixins.registry[param]) || (0, import_utils25.isVariant)(param))
4614
4614
  continue;
4615
4615
  if (options.preventStateUpdate === "once")
4616
4616
  options.preventStateUpdate = false;
4617
4617
  const isElement = (0, import_applyParam.applyParam)(param, element, options);
4618
4618
  if (isElement) {
4619
4619
  const { hasDefine, hasContextDefine } = isElement;
4620
- const canUpdate = (0, import_utils30.isObject)(prop) && !hasDefine && !hasContextDefine && !options.preventRecursive;
4620
+ const canUpdate = (0, import_utils24.isObject)(prop) && !hasDefine && !hasContextDefine && !options.preventRecursive;
4621
4621
  if (!canUpdate)
4622
4622
  continue;
4623
4623
  const childUpdateCall = () => update.call(prop, params[prop], {
@@ -4626,7 +4626,7 @@ var require_update2 = __commonJS({
4626
4626
  calleeElement
4627
4627
  });
4628
4628
  if (element.props && element.props.lazyLoad || options.lazyLoad) {
4629
- import_utils30.window.requestAnimationFrame(() => childUpdateCall());
4629
+ import_utils24.window.requestAnimationFrame(() => childUpdateCall());
4630
4630
  } else
4631
4631
  childUpdateCall();
4632
4632
  }
@@ -4650,7 +4650,7 @@ var require_update2 = __commonJS({
4650
4650
  return [snapshotOnCallee, calleeElement];
4651
4651
  };
4652
4652
  var checkIfOnUpdate = (element, parent, options) => {
4653
- if (!(0, import_utils30.isFunction)(element.if) || !element.state || !parent)
4653
+ if (!(0, import_utils24.isFunction)(element.if) || !element.state || !parent)
4654
4654
  return;
4655
4655
  const ref = element.__ref;
4656
4656
  const ifPassed = element.if(element, element.state, element.context, options);
@@ -4667,7 +4667,7 @@ var require_update2 = __commonJS({
4667
4667
  element.state = ref.__state;
4668
4668
  }
4669
4669
  const created = (0, import_create.default)(element, parent, element.key, import_options3.default.create);
4670
- if (options.preventUpdate !== true && element.on && (0, import_utils30.isFunction)(element.on.update)) {
4670
+ if (options.preventUpdate !== true && element.on && (0, import_utils24.isFunction)(element.on.update)) {
4671
4671
  (0, import_event.applyEvent)(element.on.update, created, created.state);
4672
4672
  }
4673
4673
  return created;
@@ -4688,9 +4688,9 @@ var require_update2 = __commonJS({
4688
4688
  return;
4689
4689
  }
4690
4690
  const { isHoisted, execStateFunction, stateFunctionOverwrite } = options;
4691
- const shouldForceStateUpdate = (0, import_utils30.isFunction)(stateKey) && (!isHoisted && execStateFunction && stateFunctionOverwrite);
4691
+ const shouldForceStateUpdate = (0, import_utils24.isFunction)(stateKey) && (!isHoisted && execStateFunction && stateFunctionOverwrite);
4692
4692
  if (shouldForceStateUpdate) {
4693
- const execState = (0, import_utils30.exec)(stateKey, element);
4693
+ const execState = (0, import_utils24.exec)(stateKey, element);
4694
4694
  state.set(execState, {
4695
4695
  ...options,
4696
4696
  preventUpdate: true
@@ -4713,7 +4713,7 @@ var require_update2 = __commonJS({
4713
4713
  };
4714
4714
  var createStateUpdate = (element, parent, options) => {
4715
4715
  const __stateChildren = element.state.__children;
4716
- const newState = (0, import_state3.createState)(element, parent);
4716
+ const newState = (0, import_state2.createState)(element, parent);
4717
4717
  element.state = newState;
4718
4718
  for (const child in __stateChildren) {
4719
4719
  if (newState[child])
@@ -4762,7 +4762,7 @@ var require_set2 = __commonJS({
4762
4762
  addMethods: () => addMethods
4763
4763
  });
4764
4764
  module2.exports = __toCommonJS2(set_exports);
4765
- var import_utils30 = require_cjs();
4765
+ var import_utils24 = require_cjs();
4766
4766
  var import_set = __toESM2(require_set(), 1);
4767
4767
  var import_update = __toESM2(require_update2(), 1);
4768
4768
  var import__2 = require_methods2();
@@ -4783,7 +4783,7 @@ var require_set2 = __commonJS({
4783
4783
  nextElement: import__2.nextElement.bind(element),
4784
4784
  previousElement: import__2.previousElement.bind(element)
4785
4785
  };
4786
- if ((0, import_utils30.isDevelopment)())
4786
+ if ((0, import_utils24.isDevelopment)())
4787
4787
  proto.log = import__2.log.bind(element);
4788
4788
  Object.setPrototypeOf(element, proto);
4789
4789
  };
@@ -4831,7 +4831,7 @@ var require_create4 = __commonJS({
4831
4831
  var import_registry = require_cjs6();
4832
4832
  var import_event = require_cjs3();
4833
4833
  var import_render = require_cjs4();
4834
- var import_state3 = require_cjs5();
4834
+ var import_state2 = require_cjs5();
4835
4835
  var import_methods = require_methods2();
4836
4836
  var import_props = require_props();
4837
4837
  var import_extend = require_extend();
@@ -4839,7 +4839,7 @@ var require_create4 = __commonJS({
4839
4839
  var import_set = require_set2();
4840
4840
  var import_classList = require_classList();
4841
4841
  var import_iterate = require_iterate();
4842
- var import_utils30 = require_cjs();
4842
+ var import_utils24 = require_cjs();
4843
4843
  var import_options3 = __toESM2(require_options(), 1);
4844
4844
  var import_component = require_component();
4845
4845
  var ENV2 = "development";
@@ -4852,7 +4852,7 @@ var require_create4 = __commonJS({
4852
4852
  parent = redefineParent(element, parent, key);
4853
4853
  key = createKey(element, parent, key);
4854
4854
  const ref = addRef(element, parent, key);
4855
- ref.__initialProps = (0, import_utils30.deepClone)(element.props, []);
4855
+ ref.__initialProps = (0, import_utils24.deepClone)(element.props, []);
4856
4856
  applyContext(element, parent, options);
4857
4857
  (0, import_component.applyComponentFromContext)(element, parent, options);
4858
4858
  if (!ref.__skipCreate) {
@@ -4865,7 +4865,7 @@ var require_create4 = __commonJS({
4865
4865
  replaceOptions(element, parent, options);
4866
4866
  addCaching(element, parent);
4867
4867
  (0, import_set.addMethods)(element, parent);
4868
- (0, import_state3.createState)(element, parent);
4868
+ (0, import_state2.createState)(element, parent);
4869
4869
  createIfConditionFlag(element, parent);
4870
4870
  if (element.node && ref.__if) {
4871
4871
  return (0, import_render.assignNode)(element, parent, key);
@@ -4889,7 +4889,7 @@ var require_create4 = __commonJS({
4889
4889
  }
4890
4890
  return {};
4891
4891
  }
4892
- if ((0, import_utils30.isString)(key) && key.slice(0, 2 === "__")) {
4892
+ if ((0, import_utils24.isString)(key) && key.slice(0, 2 === "__")) {
4893
4893
  if (ENV2 === "test" || ENV2 === "development") {
4894
4894
  console.warn(key, "seems like to be in __ref");
4895
4895
  }
@@ -4916,7 +4916,7 @@ var require_create4 = __commonJS({
4916
4916
  var redefineParent = (element, parent, key, options) => {
4917
4917
  if (!parent)
4918
4918
  return import_tree.ROOT;
4919
- if ((0, import_utils30.isNode)(parent)) {
4919
+ if ((0, import_utils24.isNode)(parent)) {
4920
4920
  const parentNodeWrapper = { key: ":root", node: parent };
4921
4921
  import_tree.ROOT[`${key}_parent`] = parentNodeWrapper;
4922
4922
  return parentNodeWrapper;
@@ -4930,7 +4930,7 @@ var require_create4 = __commonJS({
4930
4930
  }
4931
4931
  };
4932
4932
  var createKey = (element, parent, key) => {
4933
- return ((0, import_utils30.exec)(key, element) || key || element.key || (0, import_utils30.generateKey)()).toString();
4933
+ return ((0, import_utils24.exec)(key, element) || key || element.key || (0, import_utils24.generateKey)()).toString();
4934
4934
  };
4935
4935
  var addRef = (element, parent) => {
4936
4936
  if (element.__ref)
@@ -4960,7 +4960,7 @@ var require_create4 = __commonJS({
4960
4960
  (0, import_event.triggerEventOn)("render", element, options);
4961
4961
  };
4962
4962
  var checkIfPrimitive = (element) => {
4963
- return (0, import_utils30.is)(element)("string", "number");
4963
+ return (0, import_utils24.is)(element)("string", "number");
4964
4964
  };
4965
4965
  var applyValueAsText = (element, parent, key) => {
4966
4966
  const extendTag = element.extend && element.extend.tag;
@@ -4979,7 +4979,7 @@ var require_create4 = __commonJS({
4979
4979
  };
4980
4980
  var createIfConditionFlag = (element, parent) => {
4981
4981
  const { __ref: ref } = element;
4982
- if ((0, import_utils30.isFunction)(element.if)) {
4982
+ if ((0, import_utils24.isFunction)(element.if)) {
4983
4983
  const ifPassed = element.if(element, element.state);
4984
4984
  if (!ifPassed) {
4985
4985
  const ifFragment = (0, import_render.cacheNode)({ tag: "fragment" });
@@ -5043,8 +5043,8 @@ var require_create4 = __commonJS({
5043
5043
  if (!ref.__children)
5044
5044
  ref.__children = [];
5045
5045
  (0, import_set.addMethods)(element, parent);
5046
- (0, import_state3.createState)(element, parent);
5047
- if ((0, import_utils30.isFunction)(element.if)) {
5046
+ (0, import_state2.createState)(element, parent);
5047
+ if ((0, import_utils24.isFunction)(element.if)) {
5048
5048
  const ifPassed = element.if(element, element.state);
5049
5049
  if (!ifPassed) {
5050
5050
  delete ref.__if;
@@ -5064,7 +5064,7 @@ var require_create4 = __commonJS({
5064
5064
  (0, import_iterate.throughInitialDefine)(element);
5065
5065
  (0, import_iterate.throughInitialExec)(element);
5066
5066
  for (const k in element) {
5067
- if ((0, import_utils30.isUndefined)(element[k]) || (0, import_methods.isMethod)(k) || (0, import_utils30.isObject)(import_mixins.registry[k]) || (0, import_component.isVariant)(k))
5067
+ if ((0, import_utils24.isUndefined)(element[k]) || (0, import_methods.isMethod)(k) || (0, import_utils24.isObject)(import_mixins.registry[k]) || (0, import_component.isVariant)(k))
5068
5068
  continue;
5069
5069
  const hasDefine = element.define && element.define[k];
5070
5070
  const contextHasDefine = element.context && element.context.define && element.context.define[k];
@@ -5072,7 +5072,7 @@ var require_create4 = __commonJS({
5072
5072
  if (!ref.__skipCreate && import_mixins.registry[k] && !optionsHasDefine) {
5073
5073
  continue;
5074
5074
  } else if (element[k] && !hasDefine && !optionsHasDefine && !contextHasDefine) {
5075
- create2((0, import_utils30.exec)(element[k], element), element, k, options);
5075
+ create2((0, import_utils24.exec)(element[k], element), element, k, options);
5076
5076
  }
5077
5077
  }
5078
5078
  }
@@ -5470,51 +5470,51 @@ var require_cjs9 = __commonJS({
5470
5470
  __export22(types_exports, {
5471
5471
  TYPES: () => TYPES,
5472
5472
  is: () => is,
5473
- isArray: () => isArray62,
5473
+ isArray: () => isArray7,
5474
5474
  isBoolean: () => isBoolean,
5475
5475
  isDefined: () => isDefined2,
5476
5476
  isFunction: () => isFunction22,
5477
- isNot: () => isNot3,
5477
+ isNot: () => isNot2,
5478
5478
  isNull: () => isNull,
5479
5479
  isNumber: () => isNumber2,
5480
- isObject: () => isObject72,
5481
- isObjectLike: () => isObjectLike32,
5482
- isString: () => isString92,
5483
- isUndefined: () => isUndefined5
5480
+ isObject: () => isObject82,
5481
+ isObjectLike: () => isObjectLike3,
5482
+ isString: () => isString10,
5483
+ isUndefined: () => isUndefined4
5484
5484
  });
5485
5485
  module22.exports = __toCommonJS22(types_exports);
5486
5486
  var import_node = require_node3();
5487
- var isObject72 = (arg) => {
5487
+ var isObject82 = (arg) => {
5488
5488
  if (arg === null)
5489
5489
  return false;
5490
5490
  return typeof arg === "object" && arg.constructor === Object;
5491
5491
  };
5492
- var isString92 = (arg) => typeof arg === "string";
5492
+ var isString10 = (arg) => typeof arg === "string";
5493
5493
  var isNumber2 = (arg) => typeof arg === "number";
5494
5494
  var isFunction22 = (arg) => typeof arg === "function";
5495
5495
  var isBoolean = (arg) => arg === true || arg === false;
5496
5496
  var isNull = (arg) => arg === null;
5497
- var isArray62 = (arg) => Array.isArray(arg);
5498
- var isObjectLike32 = (arg) => {
5497
+ var isArray7 = (arg) => Array.isArray(arg);
5498
+ var isObjectLike3 = (arg) => {
5499
5499
  if (arg === null)
5500
5500
  return false;
5501
5501
  return typeof arg === "object";
5502
5502
  };
5503
5503
  var isDefined2 = (arg) => {
5504
- return isObject72(arg) || isObjectLike32(arg) || isString92(arg) || isNumber2(arg) || isFunction22(arg) || isArray62(arg) || isObjectLike32(arg) || isBoolean(arg) || isNull(arg);
5504
+ return isObject82(arg) || isObjectLike3(arg) || isString10(arg) || isNumber2(arg) || isFunction22(arg) || isArray7(arg) || isObjectLike3(arg) || isBoolean(arg) || isNull(arg);
5505
5505
  };
5506
- var isUndefined5 = (arg) => {
5506
+ var isUndefined4 = (arg) => {
5507
5507
  return arg === void 0;
5508
5508
  };
5509
5509
  var TYPES = {
5510
5510
  boolean: isBoolean,
5511
- array: isArray62,
5512
- object: isObject72,
5513
- string: isString92,
5511
+ array: isArray7,
5512
+ object: isObject82,
5513
+ string: isString10,
5514
5514
  number: isNumber2,
5515
5515
  null: isNull,
5516
5516
  function: isFunction22,
5517
- objectLike: isObjectLike32,
5517
+ objectLike: isObjectLike3,
5518
5518
  node: import_node.isNode,
5519
5519
  htmlElement: import_node.isHtmlElement,
5520
5520
  defined: isDefined2
@@ -5524,7 +5524,7 @@ var require_cjs9 = __commonJS({
5524
5524
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length > 0;
5525
5525
  };
5526
5526
  };
5527
- var isNot3 = (arg) => {
5527
+ var isNot2 = (arg) => {
5528
5528
  return (...args) => {
5529
5529
  return args.map((val) => TYPES[val](arg)).filter((v) => v).length === 0;
5530
5530
  };
@@ -5711,15 +5711,15 @@ var require_cjs9 = __commonJS({
5711
5711
  clone: () => clone,
5712
5712
  deepClone: () => deepClone22,
5713
5713
  deepCloneExclude: () => deepCloneExclude,
5714
- deepContains: () => deepContains3,
5714
+ deepContains: () => deepContains,
5715
5715
  deepDestringify: () => deepDestringify,
5716
5716
  deepMerge: () => deepMerge32,
5717
5717
  deepStringify: () => deepStringify,
5718
5718
  detachFunctionsFromObject: () => detachFunctionsFromObject,
5719
- diff: () => diff3,
5719
+ diff: () => diff,
5720
5720
  diffArrays: () => diffArrays,
5721
5721
  diffObjects: () => diffObjects,
5722
- exec: () => exec5,
5722
+ exec: () => exec4,
5723
5723
  flattenRecursive: () => flattenRecursive,
5724
5724
  isEqualDeep: () => isEqualDeep2,
5725
5725
  map: () => map2,
@@ -5729,7 +5729,7 @@ var require_cjs9 = __commonJS({
5729
5729
  objectToString: () => objectToString,
5730
5730
  overwrite: () => overwrite,
5731
5731
  overwriteDeep: () => overwriteDeep2,
5732
- overwriteShallow: () => overwriteShallow3,
5732
+ overwriteShallow: () => overwriteShallow2,
5733
5733
  removeFromObject: () => removeFromObject,
5734
5734
  stringToObject: () => stringToObject
5735
5735
  });
@@ -5738,7 +5738,7 @@ var require_cjs9 = __commonJS({
5738
5738
  var import_types = require_types2();
5739
5739
  var import_array = require_array2();
5740
5740
  var import_string = require_string2();
5741
- var exec5 = (param, element, state, context) => {
5741
+ var exec4 = (param, element, state, context) => {
5742
5742
  if ((0, import_types.isFunction)(param)) {
5743
5743
  return param(
5744
5744
  element,
@@ -5750,7 +5750,7 @@ var require_cjs9 = __commonJS({
5750
5750
  };
5751
5751
  var map2 = (obj, extention, element) => {
5752
5752
  for (const e in extention) {
5753
- obj[e] = exec5(extention[e], element);
5753
+ obj[e] = exec4(extention[e], element);
5754
5754
  }
5755
5755
  };
5756
5756
  var merge5 = (element, obj, excludeFrom = []) => {
@@ -5983,7 +5983,7 @@ var require_cjs9 = __commonJS({
5983
5983
  const objToDiffProp = objToDiff[e];
5984
5984
  if ((0, import_types.isObject)(originalProp) && (0, import_types.isObject)(objToDiffProp)) {
5985
5985
  cache2[e] = {};
5986
- diff3(originalProp, objToDiffProp, cache2[e]);
5986
+ diff(originalProp, objToDiffProp, cache2[e]);
5987
5987
  } else if (objToDiffProp !== void 0) {
5988
5988
  cache2[e] = objToDiffProp;
5989
5989
  }
@@ -5996,7 +5996,7 @@ var require_cjs9 = __commonJS({
5996
5996
  } else {
5997
5997
  const diffArr = [];
5998
5998
  for (let i2 = 0; i2 < original.length; i2++) {
5999
- const diffObj = diff3(original[i2], objToDiff[i2]);
5999
+ const diffObj = diff(original[i2], objToDiff[i2]);
6000
6000
  if (Object.keys(diffObj).length > 0) {
6001
6001
  diffArr.push(diffObj);
6002
6002
  }
@@ -6007,7 +6007,7 @@ var require_cjs9 = __commonJS({
6007
6007
  }
6008
6008
  return cache2;
6009
6009
  };
6010
- var diff3 = (original, objToDiff, cache2 = {}) => {
6010
+ var diff = (original, objToDiff, cache2 = {}) => {
6011
6011
  if ((0, import_types.isArray)(original) && (0, import_types.isArray)(objToDiff)) {
6012
6012
  cache2 = [];
6013
6013
  diffArrays(original, objToDiff, cache2);
@@ -6031,7 +6031,7 @@ var require_cjs9 = __commonJS({
6031
6031
  }
6032
6032
  return changes;
6033
6033
  };
6034
- var overwriteShallow3 = (obj, params, excludeFrom = []) => {
6034
+ var overwriteShallow2 = (obj, params, excludeFrom = []) => {
6035
6035
  for (const e in params) {
6036
6036
  if (excludeFrom.includes(e) || e.startsWith("__"))
6037
6037
  continue;
@@ -6095,7 +6095,7 @@ var require_cjs9 = __commonJS({
6095
6095
  }
6096
6096
  return true;
6097
6097
  };
6098
- var deepContains3 = (obj1, obj2) => {
6098
+ var deepContains = (obj1, obj2) => {
6099
6099
  if (typeof obj1 !== typeof obj2) {
6100
6100
  return false;
6101
6101
  }
@@ -6105,14 +6105,14 @@ var require_cjs9 = __commonJS({
6105
6105
  return false;
6106
6106
  }
6107
6107
  for (let i2 = 0; i2 < obj1.length; i2++) {
6108
- if (!deepContains3(obj1[i2], obj2[i2])) {
6108
+ if (!deepContains(obj1[i2], obj2[i2])) {
6109
6109
  return false;
6110
6110
  }
6111
6111
  }
6112
6112
  } else if ((0, import_types.isObjectLike)(obj1) && obj2 !== null) {
6113
6113
  for (const key in obj1) {
6114
6114
  const hasOwnProperty = Object.prototype.hasOwnProperty.call(obj2, key);
6115
- if (!hasOwnProperty || !deepContains3(obj1[key], obj2[key])) {
6115
+ if (!hasOwnProperty || !deepContains(obj1[key], obj2[key])) {
6116
6116
  return false;
6117
6117
  }
6118
6118
  }
@@ -6504,7 +6504,7 @@ var require_cjs9 = __commonJS({
6504
6504
  BREAKPOINTS: () => BREAKPOINTS,
6505
6505
  CASES: () => CASES,
6506
6506
  COLOR: () => COLOR3,
6507
- CONFIG: () => CONFIG4,
6507
+ CONFIG: () => CONFIG3,
6508
6508
  CSS_VARS: () => CSS_VARS,
6509
6509
  DEVICES: () => DEVICES,
6510
6510
  DOCUMENT: () => DOCUMENT,
@@ -6518,6 +6518,7 @@ var require_cjs9 = __commonJS({
6518
6518
  MEDIA: () => MEDIA,
6519
6519
  RESET: () => RESET,
6520
6520
  SEQUENCE: () => SEQUENCE,
6521
+ SHADOW: () => SHADOW,
6521
6522
  SPACING: () => SPACING2,
6522
6523
  SVG: () => SVG,
6523
6524
  SVG_DATA: () => SVG_DATA,
@@ -6545,27 +6546,28 @@ var require_cjs9 = __commonJS({
6545
6546
  generateSequence: () => generateSequence,
6546
6547
  generateSprite: () => generateSprite,
6547
6548
  generateSubSequence: () => generateSubSequence,
6548
- getActiveConfig: () => getActiveConfig4,
6549
- getColor: () => getColor3,
6549
+ getActiveConfig: () => getActiveConfig3,
6550
+ getColor: () => getColor2,
6550
6551
  getColorShade: () => getColorShade,
6551
6552
  getDefaultOrFirstKey: () => getDefaultOrFirstKey,
6552
6553
  getFontFace: () => getFontFace,
6553
6554
  getFontFaceEach: () => getFontFaceEach,
6554
6555
  getFontFaceEachString: () => getFontFaceEachString,
6555
6556
  getFontFaceString: () => getFontFaceString2,
6556
- getFontFamily: () => getFontFamily3,
6557
+ getFontFamily: () => getFontFamily2,
6557
6558
  getFontFormat: () => getFontFormat,
6558
- getFontSizeByKey: () => getFontSizeByKey3,
6559
- getMediaColor: () => getMediaColor5,
6560
- getMediaTheme: () => getMediaTheme3,
6559
+ getFontSizeByKey: () => getFontSizeByKey2,
6560
+ getMediaColor: () => getMediaColor3,
6561
+ getMediaTheme: () => getMediaTheme2,
6561
6562
  getRgbTone: () => getRgbTone,
6562
6563
  getSequenceValue: () => getSequenceValue,
6563
6564
  getSequenceValuePropertyPair: () => getSequenceValuePropertyPair,
6564
- getSpacingBasedOnRatio: () => getSpacingBasedOnRatio7,
6565
- getSpacingByKey: () => getSpacingByKey5,
6565
+ getShadow: () => getShadow,
6566
+ getSpacingBasedOnRatio: () => getSpacingBasedOnRatio4,
6567
+ getSpacingByKey: () => getSpacingByKey3,
6566
6568
  getTheme: () => getTheme,
6567
- getTimingByKey: () => getTimingByKey3,
6568
- getTimingFunction: () => getTimingFunction5,
6569
+ getTimingByKey: () => getTimingByKey2,
6570
+ getTimingFunction: () => getTimingFunction3,
6569
6571
  hexToRgb: () => hexToRgb,
6570
6572
  hexToRgbArray: () => hexToRgbArray,
6571
6573
  hexToRgba: () => hexToRgba,
@@ -6595,17 +6597,19 @@ var require_cjs9 = __commonJS({
6595
6597
  setInCustomFontMedia: () => setInCustomFontMedia,
6596
6598
  setMediaTheme: () => setMediaTheme,
6597
6599
  setSVG: () => setSVG,
6600
+ setShadow: () => setShadow,
6598
6601
  setTheme: () => setTheme,
6599
6602
  setValue: () => setValue,
6600
6603
  setVariables: () => setVariables,
6601
- splitTransition: () => splitTransition3,
6602
- transformBackgroundImage: () => transformBackgroundImage3,
6603
- transformBorder: () => transformBorder3,
6604
- transformDuration: () => transformDuration3,
6605
- transformShadow: () => transformShadow3,
6606
- transformTextStroke: () => transformTextStroke3,
6604
+ splitTransition: () => splitTransition2,
6605
+ transformBackgroundImage: () => transformBackgroundImage2,
6606
+ transformBorder: () => transformBorder2,
6607
+ transformBoxShadow: () => transformBoxShadow2,
6608
+ transformDuration: () => transformDuration2,
6609
+ transformShadow: () => transformShadow2,
6610
+ transformTextStroke: () => transformTextStroke2,
6607
6611
  transformTransition: () => transformTransition,
6608
- transfromGap: () => transfromGap3
6612
+ transfromGap: () => transfromGap2
6609
6613
  });
6610
6614
  module2.exports = __toCommonJS2(src_exports2);
6611
6615
  var utils_exports = {};
@@ -6648,7 +6652,7 @@ var require_cjs9 = __commonJS({
6648
6652
  setVariables: () => setVariables
6649
6653
  });
6650
6654
  var import_globals2 = __toESM2(require_cjs13(), 1);
6651
- var import_utils30 = __toESM2(require_cjs22(), 1);
6655
+ var import_utils24 = __toESM2(require_cjs22(), 1);
6652
6656
  var ENV2 = "development";
6653
6657
  var colorStringToRgbaArray = (color) => {
6654
6658
  if (color === "")
@@ -6776,9 +6780,9 @@ var require_cjs9 = __commonJS({
6776
6780
  return `rgba(${arr})`;
6777
6781
  };
6778
6782
  var getRgbTone = (rgb, tone) => {
6779
- if ((0, import_utils30.isString)(rgb))
6783
+ if ((0, import_utils24.isString)(rgb))
6780
6784
  rgb = rgb.split(", ").map((v) => parseFloat(v));
6781
- if ((0, import_utils30.isNumber)(tone))
6785
+ if ((0, import_utils24.isNumber)(tone))
6782
6786
  tone += "";
6783
6787
  const toHex = rgbArrayToHex(rgb);
6784
6788
  const abs2 = tone.slice(0, 1);
@@ -6843,7 +6847,7 @@ var require_cjs9 = __commonJS({
6843
6847
  };
6844
6848
  var import_utils52 = __toESM2(require_cjs22(), 1);
6845
6849
  var import_utils32 = __toESM2(require_cjs22());
6846
- var import_utils210 = __toESM2(require_cjs22());
6850
+ var import_utils25 = __toESM2(require_cjs22());
6847
6851
  var toCamelCase2 = (str) => {
6848
6852
  return str.replace(/(?:^\w|[A-Z]|\b\w)/g, function(word, index) {
6849
6853
  return index === 0 ? word.toLowerCase() : word.toUpperCase();
@@ -6876,6 +6880,7 @@ var require_cjs9 = __commonJS({
6876
6880
  MEDIA: () => MEDIA,
6877
6881
  RESET: () => RESET,
6878
6882
  SEQUENCE: () => SEQUENCE,
6883
+ SHADOW: () => SHADOW,
6879
6884
  SPACING: () => SPACING2,
6880
6885
  SVG: () => SVG,
6881
6886
  SVG_DATA: () => SVG_DATA,
@@ -6979,6 +6984,7 @@ var require_cjs9 = __commonJS({
6979
6984
  var COLOR3 = {};
6980
6985
  var GRADIENT2 = {};
6981
6986
  var THEME2 = {};
6987
+ var SHADOW = {};
6982
6988
  var ICONS = {};
6983
6989
  var defaultProps3 = {
6984
6990
  default: 150,
@@ -7024,17 +7030,17 @@ var require_cjs9 = __commonJS({
7024
7030
  var TEMPLATES = {};
7025
7031
  var RESET = {};
7026
7032
  var CSS_VARS = {};
7027
- var CONFIG4 = {
7033
+ var CONFIG3 = {
7028
7034
  verbose: false,
7029
7035
  useVariable: true,
7030
7036
  useReset: true,
7031
7037
  CSS_VARS,
7032
7038
  ...defaultConfig_exports
7033
7039
  };
7034
- var cachedConfig = (0, import_utils42.deepClone)(CONFIG4);
7040
+ var cachedConfig = (0, import_utils42.deepClone)(CONFIG3);
7035
7041
  var FACTORY = {
7036
7042
  active: "0",
7037
- 0: CONFIG4
7043
+ 0: CONFIG3
7038
7044
  };
7039
7045
  var activateConfig = (def) => {
7040
7046
  if ((0, import_utils42.isDefined)(def)) {
@@ -7042,7 +7048,7 @@ var require_cjs9 = __commonJS({
7042
7048
  }
7043
7049
  return FACTORY[def || FACTORY.active];
7044
7050
  };
7045
- var getActiveConfig4 = (def) => {
7051
+ var getActiveConfig3 = (def) => {
7046
7052
  return FACTORY[def || FACTORY.active];
7047
7053
  };
7048
7054
  var setActiveConfig = (newConfig) => {
@@ -7096,8 +7102,8 @@ var require_cjs9 = __commonJS({
7096
7102
  var generateSubSequence = (props4, sequenceProps) => {
7097
7103
  const { key, base, value: value2, ratio, variable, index } = props4;
7098
7104
  const next2 = value2 * ratio;
7099
- const diff3 = next2 - value2;
7100
- const smallscale = diff3 / 1.618;
7105
+ const diff = next2 - value2;
7106
+ const smallscale = diff / 1.618;
7101
7107
  const valueRounded = ~~value2;
7102
7108
  const nextRounded = ~~next2;
7103
7109
  const diffRounded = nextRounded - valueRounded;
@@ -7151,7 +7157,7 @@ var require_cjs9 = __commonJS({
7151
7157
  return sequenceProps;
7152
7158
  };
7153
7159
  var getSequenceValue = (value2 = "A", sequenceProps) => {
7154
- const CONFIG22 = getActiveConfig4();
7160
+ const CONFIG22 = getActiveConfig3();
7155
7161
  const { UNIT: UNIT2 } = CONFIG22;
7156
7162
  const {
7157
7163
  sequence,
@@ -7223,7 +7229,7 @@ var require_cjs9 = __commonJS({
7223
7229
  };
7224
7230
  var import_utils72 = __toESM2(require_cjs22(), 1);
7225
7231
  var setVariables = (result, key) => {
7226
- const CONFIG22 = getActiveConfig4();
7232
+ const CONFIG22 = getActiveConfig3();
7227
7233
  const { CSS_VARS: CSS_VARS2 } = CONFIG22;
7228
7234
  if ((0, import_utils72.isObjectLike)(result.value)) {
7229
7235
  } else {
@@ -7231,7 +7237,7 @@ var require_cjs9 = __commonJS({
7231
7237
  }
7232
7238
  };
7233
7239
  var applySequenceVars = (props4, mediaName, options = {}) => {
7234
- const CONFIG22 = getActiveConfig4();
7240
+ const CONFIG22 = getActiveConfig3();
7235
7241
  const { UNIT: UNIT2, MEDIA: MEDIA2, TIMING: TIMING2, CSS_VARS: CSS_VARS2 } = CONFIG22;
7236
7242
  const unit = props4.unit || UNIT2.default;
7237
7243
  const { sequence, scales } = props4;
@@ -7261,7 +7267,7 @@ var require_cjs9 = __commonJS({
7261
7267
  };
7262
7268
  var import_utils82 = __toESM2(require_cjs22(), 1);
7263
7269
  var generateSprite = (icons) => {
7264
- const CONFIG22 = getActiveConfig4();
7270
+ const CONFIG22 = getActiveConfig3();
7265
7271
  let sprite = "";
7266
7272
  for (const key in icons) {
7267
7273
  if (CONFIG22.__svg_cache[key])
@@ -7326,16 +7332,17 @@ var require_cjs9 = __commonJS({
7326
7332
  applySpacingSequence: () => applySpacingSequence,
7327
7333
  applyTimingSequence: () => applyTimingSequence,
7328
7334
  applyTypographySequence: () => applyTypographySequence,
7329
- getColor: () => getColor3,
7330
- getFontFamily: () => getFontFamily3,
7331
- getFontSizeByKey: () => getFontSizeByKey3,
7332
- getMediaColor: () => getMediaColor5,
7333
- getMediaTheme: () => getMediaTheme3,
7334
- getSpacingBasedOnRatio: () => getSpacingBasedOnRatio7,
7335
- getSpacingByKey: () => getSpacingByKey5,
7335
+ getColor: () => getColor2,
7336
+ getFontFamily: () => getFontFamily2,
7337
+ getFontSizeByKey: () => getFontSizeByKey2,
7338
+ getMediaColor: () => getMediaColor3,
7339
+ getMediaTheme: () => getMediaTheme2,
7340
+ getShadow: () => getShadow,
7341
+ getSpacingBasedOnRatio: () => getSpacingBasedOnRatio4,
7342
+ getSpacingByKey: () => getSpacingByKey3,
7336
7343
  getTheme: () => getTheme,
7337
- getTimingByKey: () => getTimingByKey3,
7338
- getTimingFunction: () => getTimingFunction5,
7344
+ getTimingByKey: () => getTimingByKey2,
7345
+ getTimingFunction: () => getTimingFunction3,
7339
7346
  runThroughMedia: () => runThroughMedia,
7340
7347
  setColor: () => setColor,
7341
7348
  setFont: () => setFont,
@@ -7344,11 +7351,12 @@ var require_cjs9 = __commonJS({
7344
7351
  setIcon: () => setIcon,
7345
7352
  setMediaTheme: () => setMediaTheme,
7346
7353
  setSVG: () => setSVG,
7354
+ setShadow: () => setShadow,
7347
7355
  setTheme: () => setTheme
7348
7356
  });
7349
7357
  var import_utils92 = __toESM2(require_cjs22(), 1);
7350
- var getColor3 = (value2, key, config) => {
7351
- const CONFIG22 = config || getActiveConfig4();
7358
+ var getColor2 = (value2, key, config) => {
7359
+ const CONFIG22 = config || getActiveConfig3();
7352
7360
  if (!(0, import_utils92.isString)(value2)) {
7353
7361
  if (CONFIG22.verbose)
7354
7362
  console.warn(value2, "- type for color is not valid");
@@ -7386,8 +7394,8 @@ var require_cjs9 = __commonJS({
7386
7394
  return `rgba(${rgb}, ${alpha})`;
7387
7395
  return CONFIG22.useVariable ? `var(${val.var})` : `rgb(${rgb})`;
7388
7396
  };
7389
- var getMediaColor5 = (value2, globalTheme, config) => {
7390
- const CONFIG22 = config || getActiveConfig4();
7397
+ var getMediaColor3 = (value2, globalTheme, config) => {
7398
+ const CONFIG22 = config || getActiveConfig3();
7391
7399
  if (!globalTheme)
7392
7400
  globalTheme = CONFIG22.globalTheme;
7393
7401
  if (!(0, import_utils92.isString)(value2)) {
@@ -7402,16 +7410,16 @@ var require_cjs9 = __commonJS({
7402
7410
  const val = COLOR22[name] || GRADIENT22[name];
7403
7411
  const isObj = (0, import_utils92.isObject)(val);
7404
7412
  if (isObj && val.value)
7405
- return getColor3(value2, `@${globalTheme}`, config);
7413
+ return getColor2(value2, `@${globalTheme}`, config);
7406
7414
  else if (isObj) {
7407
7415
  if (globalTheme)
7408
- return getColor3(value2, `@${globalTheme}`, config);
7416
+ return getColor2(value2, `@${globalTheme}`, config);
7409
7417
  else {
7410
7418
  const obj = {};
7411
7419
  for (const mediaName in val) {
7412
7420
  const query = CONFIG22.MEDIA[mediaName.slice(1)];
7413
7421
  const media = `@media screen and ${query}`;
7414
- obj[media] = getColor3(value2, mediaName, config);
7422
+ obj[media] = getColor2(value2, mediaName, config);
7415
7423
  }
7416
7424
  return obj;
7417
7425
  }
@@ -7422,9 +7430,9 @@ var require_cjs9 = __commonJS({
7422
7430
  }
7423
7431
  };
7424
7432
  var setColor = (val, key, suffix) => {
7425
- const CONFIG22 = getActiveConfig4();
7433
+ const CONFIG22 = getActiveConfig3();
7426
7434
  if ((0, import_utils92.isString)(val) && val.slice(0, 2) === "--")
7427
- val = getColor3(val.slice(2));
7435
+ val = getColor2(val.slice(2));
7428
7436
  if ((0, import_utils92.isArray)(val)) {
7429
7437
  return {
7430
7438
  "@light": setColor(val[0], key, "light"),
@@ -7433,8 +7441,13 @@ var require_cjs9 = __commonJS({
7433
7441
  }
7434
7442
  if ((0, import_utils92.isObject)(val)) {
7435
7443
  const obj = {};
7436
- for (const variant in val)
7437
- obj[variant] = setColor(val[variant], key, variant.slice(0, 1) === "@" ? variant.slice(1) : variant);
7444
+ for (const variant in val) {
7445
+ obj[variant] = setColor(
7446
+ val[variant],
7447
+ key,
7448
+ variant.slice(0, 1) === "@" ? variant.slice(1) : variant
7449
+ );
7450
+ }
7438
7451
  return obj;
7439
7452
  }
7440
7453
  const CSSVar = `--color-${key}` + (suffix ? `-${suffix}` : "");
@@ -7453,9 +7466,9 @@ var require_cjs9 = __commonJS({
7453
7466
  };
7454
7467
  };
7455
7468
  var setGradient = (val, key, suffix) => {
7456
- const CONFIG22 = getActiveConfig4();
7469
+ const CONFIG22 = getActiveConfig3();
7457
7470
  if ((0, import_utils92.isString)(val) && val.slice(0, 2) === "--")
7458
- val = getColor3(val.slice(2));
7471
+ val = getColor2(val.slice(2));
7459
7472
  if ((0, import_utils92.isArray)(val)) {
7460
7473
  return {
7461
7474
  "@light": setGradient(val[0], key, "light"),
@@ -7485,7 +7498,7 @@ var require_cjs9 = __commonJS({
7485
7498
  keys.map((key) => {
7486
7499
  const conditions = ["color", "Color", "background", "border"];
7487
7500
  const isColor = conditions.some((k) => key.includes(k));
7488
- return value2[key] = isColor ? getColor3(theme[key]) : theme[key];
7501
+ return value2[key] = isColor ? getColor2(theme[key]) : theme[key];
7489
7502
  });
7490
7503
  return value2;
7491
7504
  };
@@ -7496,9 +7509,9 @@ var require_cjs9 = __commonJS({
7496
7509
  return theme.value;
7497
7510
  };
7498
7511
  var getTheme = (value2, modifier) => {
7499
- const CONFIG22 = getActiveConfig4();
7512
+ const CONFIG22 = getActiveConfig3();
7500
7513
  if (CONFIG22.useVariable)
7501
- return getMediaTheme3(value2, modifier);
7514
+ return getMediaTheme2(value2, modifier);
7502
7515
  const { THEME: THEME22 } = CONFIG22;
7503
7516
  if ((0, import_utils112.isString)(value2)) {
7504
7517
  const [theme, subtheme] = value2.split(" ");
@@ -7575,7 +7588,7 @@ var require_cjs9 = __commonJS({
7575
7588
  return theme;
7576
7589
  };
7577
7590
  var setHelpers = (theme, value2) => {
7578
- const CONFIG22 = getActiveConfig4();
7591
+ const CONFIG22 = getActiveConfig3();
7579
7592
  const { helpers } = theme;
7580
7593
  if (!helpers)
7581
7594
  return;
@@ -7591,7 +7604,7 @@ var require_cjs9 = __commonJS({
7591
7604
  return theme;
7592
7605
  };
7593
7606
  var setTheme = (val, key) => {
7594
- const CONFIG22 = getActiveConfig4();
7607
+ const CONFIG22 = getActiveConfig3();
7595
7608
  if (CONFIG22.useVariable)
7596
7609
  return setMediaTheme(val, key);
7597
7610
  const { state, media, helpers } = val;
@@ -7603,7 +7616,7 @@ var require_cjs9 = __commonJS({
7603
7616
  return { var: CSSvar, value: value2, state, media, helpers };
7604
7617
  };
7605
7618
  var setMediaTheme = (val, key, suffix, prefers) => {
7606
- const CONFIG22 = getActiveConfig4();
7619
+ const CONFIG22 = getActiveConfig3();
7607
7620
  const { CSS_VARS: CSS_VARS2 } = CONFIG22;
7608
7621
  const theme = { value: val };
7609
7622
  if ((0, import_utils112.isObjectLike)(val)) {
@@ -7614,7 +7627,7 @@ var require_cjs9 = __commonJS({
7614
7627
  const hasPrefers = symb === "@" && param;
7615
7628
  theme[param] = setMediaTheme(value2, key, param, prefers || hasPrefers);
7616
7629
  } else {
7617
- const color = getColor3(value2, prefers);
7630
+ const color = getColor2(value2, prefers);
7618
7631
  const metaSuffixes = [...new Set([prefers, suffix].filter((v) => v).map((v) => v.slice(1)))];
7619
7632
  const varmetaSuffixName = metaSuffixes.length ? "-" + metaSuffixes.join("-") : "";
7620
7633
  const CSSVar = `--theme-${key}${varmetaSuffixName}-${param}`;
@@ -7637,13 +7650,13 @@ var require_cjs9 = __commonJS({
7637
7650
  if ((0, import_utils112.isString)(val) && val.slice(0, 2) === "--") {
7638
7651
  const { THEME: THEME22 } = CONFIG22;
7639
7652
  const value2 = THEME22[val.slice(2)];
7640
- const getReferenced = getMediaTheme3(value2, prefers);
7653
+ const getReferenced = getMediaTheme2(value2, prefers);
7641
7654
  return getReferenced;
7642
7655
  }
7643
7656
  return theme;
7644
7657
  };
7645
7658
  var recursiveTheme = (val) => {
7646
- const CONFIG22 = getActiveConfig4();
7659
+ const CONFIG22 = getActiveConfig3();
7647
7660
  const obj = {};
7648
7661
  for (const param in val) {
7649
7662
  const symb = param.slice(0, 1);
@@ -7674,10 +7687,10 @@ var require_cjs9 = __commonJS({
7674
7687
  else
7675
7688
  return val;
7676
7689
  };
7677
- var getMediaTheme3 = (val, mod) => {
7678
- const CONFIG22 = getActiveConfig4();
7690
+ var getMediaTheme2 = (val, mod) => {
7691
+ const CONFIG22 = getActiveConfig3();
7679
7692
  if ((0, import_utils112.isString)(val) && val.slice(0, 2) === "--")
7680
- val = getMediaTheme3(val.slice(2));
7693
+ val = getMediaTheme2(val.slice(2));
7681
7694
  if (!val || !(0, import_utils112.isString)(val)) {
7682
7695
  if (CONFIG22.verbose)
7683
7696
  console.warn(val, "- theme is not string");
@@ -7697,13 +7710,13 @@ var require_cjs9 = __commonJS({
7697
7710
  const fontFace = val[0] ? getFontFaceEach(key, val) : setCustomFontMedia(key, val.url);
7698
7711
  return { var: CSSvar, value: val, fontFace };
7699
7712
  };
7700
- var getFontFamily3 = (key, factory) => {
7701
- const CONFIG22 = getActiveConfig4();
7713
+ var getFontFamily2 = (key, factory) => {
7714
+ const CONFIG22 = getActiveConfig3();
7702
7715
  const { FONT_FAMILY: FONT_FAMILY22 } = CONFIG22;
7703
7716
  return getDefaultOrFirstKey(factory || FONT_FAMILY22, key);
7704
7717
  };
7705
7718
  var setFontFamily = (val, key) => {
7706
- const CONFIG22 = getActiveConfig4();
7719
+ const CONFIG22 = getActiveConfig3();
7707
7720
  const { FONT_FAMILY: FONT_FAMILY22, FONT_FAMILY_TYPES: FONT_FAMILY_TYPES2 } = CONFIG22;
7708
7721
  let { value: value2, type } = val;
7709
7722
  if (val.isDefault)
@@ -7716,7 +7729,7 @@ var require_cjs9 = __commonJS({
7716
7729
  };
7717
7730
  var import_utils152 = __toESM2(require_cjs22(), 1);
7718
7731
  var runThroughMedia = (props4) => {
7719
- const CONFIG22 = getActiveConfig4();
7732
+ const CONFIG22 = getActiveConfig3();
7720
7733
  const { TYPOGRAPHY: TYPOGRAPHY22, MEDIA: MEDIA2 } = CONFIG22;
7721
7734
  for (const prop in props4) {
7722
7735
  const mediaProps = props4[prop];
@@ -7746,7 +7759,7 @@ var require_cjs9 = __commonJS({
7746
7759
  }
7747
7760
  };
7748
7761
  var applyHeadings = (props4) => {
7749
- const CONFIG22 = getActiveConfig4();
7762
+ const CONFIG22 = getActiveConfig3();
7750
7763
  if (props4.h1Matches) {
7751
7764
  const unit = props4.unit;
7752
7765
  const HEADINGS = findHeadings(props4);
@@ -7765,15 +7778,15 @@ var require_cjs9 = __commonJS({
7765
7778
  }
7766
7779
  };
7767
7780
  var applyTypographySequence = () => {
7768
- const CONFIG22 = getActiveConfig4();
7781
+ const CONFIG22 = getActiveConfig3();
7769
7782
  const { TYPOGRAPHY: TYPOGRAPHY22 } = CONFIG22;
7770
7783
  generateSequence(TYPOGRAPHY22);
7771
7784
  applyHeadings(TYPOGRAPHY22);
7772
7785
  applySequenceVars(TYPOGRAPHY22);
7773
7786
  runThroughMedia(TYPOGRAPHY22);
7774
7787
  };
7775
- var getFontSizeByKey3 = (value2) => {
7776
- const CONFIG22 = getActiveConfig4();
7788
+ var getFontSizeByKey2 = (value2) => {
7789
+ const CONFIG22 = getActiveConfig3();
7777
7790
  const { TYPOGRAPHY: TYPOGRAPHY22 } = CONFIG22;
7778
7791
  return getSequenceValuePropertyPair(
7779
7792
  value2,
@@ -7807,21 +7820,21 @@ var require_cjs9 = __commonJS({
7807
7820
  }
7808
7821
  };
7809
7822
  var applySpacingSequence = () => {
7810
- const CONFIG22 = getActiveConfig4();
7823
+ const CONFIG22 = getActiveConfig3();
7811
7824
  const { SPACING: SPACING22 } = CONFIG22;
7812
7825
  generateSequence(SPACING22);
7813
7826
  applySequenceVars(SPACING22);
7814
7827
  runThroughMedia2(SPACING22);
7815
7828
  };
7816
7829
  var getSequence = (sequenceProps) => {
7817
- const CONFIG22 = getActiveConfig4();
7830
+ const CONFIG22 = getActiveConfig3();
7818
7831
  const { SPACING: SPACING22 } = CONFIG22;
7819
7832
  if (!sequenceProps)
7820
7833
  return SPACING22;
7821
7834
  const hasGenerated = Object.keys(sequenceProps.sequence).length > 0;
7822
7835
  return hasGenerated ? sequenceProps : generateSequence(sequenceProps);
7823
7836
  };
7824
- var getSpacingByKey5 = (value2, propertyName = "padding", sequenceProps) => {
7837
+ var getSpacingByKey3 = (value2, propertyName = "padding", sequenceProps) => {
7825
7838
  const sequence = getSequence(sequenceProps);
7826
7839
  const stack = arrayzeValue2(value2);
7827
7840
  if (!stack)
@@ -7853,8 +7866,8 @@ var require_cjs9 = __commonJS({
7853
7866
  sequence
7854
7867
  );
7855
7868
  };
7856
- var getSpacingBasedOnRatio7 = (props4, propertyName, val) => {
7857
- const CONFIG22 = getActiveConfig4();
7869
+ var getSpacingBasedOnRatio4 = (props4, propertyName, val) => {
7870
+ const CONFIG22 = getActiveConfig3();
7858
7871
  const { SPACING: SPACING22 } = CONFIG22;
7859
7872
  const { spacingRatio, unit } = props4;
7860
7873
  const value2 = val || props4[propertyName];
@@ -7879,23 +7892,108 @@ var require_cjs9 = __commonJS({
7879
7892
  });
7880
7893
  }
7881
7894
  applySequenceVars(sequenceProps, null, { useDefault: false });
7882
- return getSpacingByKey5(value2, propertyName, sequenceProps);
7895
+ return getSpacingByKey3(value2, propertyName, sequenceProps);
7896
+ }
7897
+ return getSpacingByKey3(value2, propertyName);
7898
+ };
7899
+ var import_utils202 = __toESM2(require_cjs22(), 1);
7900
+ var setShadow = (value2, key, suffix, prefers) => {
7901
+ const CONFIG22 = getActiveConfig3();
7902
+ if ((0, import_utils202.isArray)(value2)) {
7903
+ return {
7904
+ "@light": setShadow(value2[0], key, "light"),
7905
+ "@dark": setShadow(value2[1], key, "dark")
7906
+ };
7907
+ }
7908
+ if ((0, import_utils202.isObject)(value2)) {
7909
+ const obj = {};
7910
+ for (const variant in value2) {
7911
+ obj[variant] = setShadow(
7912
+ value2[variant],
7913
+ key,
7914
+ variant.startsWith("@") ? variant.slice(1) : variant
7915
+ );
7916
+ }
7917
+ return obj;
7918
+ }
7919
+ if ((0, import_utils202.isString)(value2) && value2.includes(",")) {
7920
+ value2 = value2.split(",").map((v) => {
7921
+ v = v.trim();
7922
+ if (v.startsWith("--"))
7923
+ return `var(${v})`;
7924
+ if (getColor2(v).length > 2)
7925
+ return getColor2(v);
7926
+ if (v.includes("px") || v.slice(-2) === "em")
7927
+ return v;
7928
+ const arr = v.split(" ");
7929
+ if (!arr.length)
7930
+ return v;
7931
+ return arr.map((v2) => getSpacingByKey3(v2, "shadow").shadow).join(" ");
7932
+ }).join(" ");
7933
+ }
7934
+ const CSSVar = `--shadow-${key}` + (suffix ? `-${suffix}` : "");
7935
+ if (CONFIG22.useVariable) {
7936
+ CONFIG22.CSS_VARS[CSSVar] = value2;
7937
+ }
7938
+ return {
7939
+ var: CSSVar,
7940
+ value: value2
7941
+ };
7942
+ };
7943
+ var getShadow = (value2, globalTheme) => {
7944
+ const CONFIG22 = getActiveConfig3();
7945
+ if (!globalTheme)
7946
+ globalTheme = CONFIG22.globalTheme;
7947
+ if (!(0, import_utils202.isString)(value2)) {
7948
+ if (CONFIG22.verbose)
7949
+ console.warn(value2, "- type for color is not valid");
7950
+ return;
7951
+ }
7952
+ if (value2.slice(0, 2) === "--")
7953
+ return `var(${value2})`;
7954
+ const [name] = (0, import_utils202.isArray)(value2) ? value2 : value2.split(" ");
7955
+ const { SHADOW: SHADOW2 } = CONFIG22;
7956
+ const val = SHADOW2[name];
7957
+ const isObj = (0, import_utils202.isObject)(val);
7958
+ if (!val) {
7959
+ if (CONFIG22.verbose)
7960
+ console.warn("Can't find color ", name);
7961
+ return value2;
7883
7962
  }
7884
- return getSpacingByKey5(value2, propertyName);
7963
+ if (globalTheme) {
7964
+ if (val[globalTheme])
7965
+ return val[globalTheme].value;
7966
+ else if (CONFIG22.verbose)
7967
+ console.warn(value2, " - does not have ", globalTheme);
7968
+ }
7969
+ if (isObj && val.value)
7970
+ return val.value;
7971
+ if (isObj) {
7972
+ const obj = {};
7973
+ for (const mediaName in val) {
7974
+ const query = CONFIG22.MEDIA[mediaName.slice(1)];
7975
+ const media = `@media screen and ${query}`;
7976
+ obj[media] = val.value;
7977
+ }
7978
+ return obj;
7979
+ }
7980
+ if (CONFIG22.verbose)
7981
+ console.warn("Can't find color", value2);
7982
+ return value2;
7885
7983
  };
7886
7984
  var applyTimingSequence = () => {
7887
- const CONFIG22 = getActiveConfig4();
7985
+ const CONFIG22 = getActiveConfig3();
7888
7986
  const { TIMING: TIMING2 } = CONFIG22;
7889
7987
  generateSequence(TIMING2);
7890
7988
  applySequenceVars(TIMING2);
7891
7989
  };
7892
- var getTimingFunction5 = (value2) => {
7893
- const CONFIG22 = getActiveConfig4();
7990
+ var getTimingFunction3 = (value2) => {
7991
+ const CONFIG22 = getActiveConfig3();
7894
7992
  const { TIMING: TIMING2 } = CONFIG22;
7895
7993
  return TIMING2[value2] || TIMING2[toCamelCase2(value2)] || value2;
7896
7994
  };
7897
- var getTimingByKey3 = (value2, property = "timing") => {
7898
- const CONFIG22 = getActiveConfig4();
7995
+ var getTimingByKey2 = (value2, property = "timing") => {
7996
+ const CONFIG22 = getActiveConfig3();
7899
7997
  const { TIMING: TIMING2 } = CONFIG22;
7900
7998
  return getSequenceValuePropertyPair(
7901
7999
  value2,
@@ -7903,11 +8001,11 @@ var require_cjs9 = __commonJS({
7903
8001
  TIMING2
7904
8002
  );
7905
8003
  };
7906
- var import_utils222 = __toESM2(require_cjs22(), 1);
8004
+ var import_utils232 = __toESM2(require_cjs22(), 1);
7907
8005
  var applyDocument = () => {
7908
- const CONFIG22 = getActiveConfig4();
8006
+ const CONFIG22 = getActiveConfig3();
7909
8007
  const { DOCUMENT: DOCUMENT2, FONT_FAMILY: FONT_FAMILY22, THEME: THEME22, TYPOGRAPHY: TYPOGRAPHY22 } = CONFIG22;
7910
- return (0, import_utils222.merge)(DOCUMENT2, {
8008
+ return (0, import_utils232.merge)(DOCUMENT2, {
7911
8009
  theme: THEME22.document,
7912
8010
  fontFamily: getDefaultOrFirstKey(FONT_FAMILY22),
7913
8011
  fontSize: TYPOGRAPHY22.base,
@@ -7919,7 +8017,7 @@ var require_cjs9 = __commonJS({
7919
8017
  document: import_globals22.document
7920
8018
  };
7921
8019
  var setSVG = (val, key) => {
7922
- const CONFIG22 = getActiveConfig4();
8020
+ const CONFIG22 = getActiveConfig3();
7923
8021
  if (!val) {
7924
8022
  if (CONFIG22.verbose)
7925
8023
  console.warn("setSVG: val is not defined", key);
@@ -7931,21 +8029,21 @@ var require_cjs9 = __commonJS({
7931
8029
  return val;
7932
8030
  };
7933
8031
  var appendSVGSprite2 = (LIBRARY, options = DEF_OPTIONS) => {
7934
- const CONFIG22 = getActiveConfig4();
8032
+ const CONFIG22 = getActiveConfig3();
7935
8033
  const lib = Object.keys(LIBRARY).length ? {} : CONFIG22.SVG;
7936
8034
  for (const key in LIBRARY)
7937
8035
  lib[key] = CONFIG22.SVG[key];
7938
8036
  appendSVG(lib, options);
7939
8037
  };
7940
8038
  var setIcon = (val, key) => {
7941
- const CONFIG22 = getActiveConfig4();
8039
+ const CONFIG22 = getActiveConfig3();
7942
8040
  if (CONFIG22.useIconSprite) {
7943
8041
  return setSVG(val, key);
7944
8042
  }
7945
8043
  return val;
7946
8044
  };
7947
8045
  var appendIconsSprite2 = (LIBRARY, options = DEF_OPTIONS) => {
7948
- const CONFIG22 = getActiveConfig4();
8046
+ const CONFIG22 = getActiveConfig3();
7949
8047
  const lib = Object.keys(LIBRARY).length ? {} : CONFIG22.ICONS;
7950
8048
  for (const key in LIBRARY)
7951
8049
  lib[key] = CONFIG22.ICONS[key];
@@ -7965,7 +8063,7 @@ var require_cjs9 = __commonJS({
7965
8063
  return svgElem;
7966
8064
  };
7967
8065
  var appendSVG = (lib, options = DEF_OPTIONS) => {
7968
- const CONFIG22 = getActiveConfig4();
8066
+ const CONFIG22 = getActiveConfig3();
7969
8067
  const doc = options.document || import_globals22.document;
7970
8068
  if (!doc || !doc.documentElement) {
7971
8069
  if (CONFIG22.verbose) {
@@ -7987,16 +8085,16 @@ var require_cjs9 = __commonJS({
7987
8085
  }
7988
8086
  }
7989
8087
  };
7990
- var import_utils252 = __toESM2(require_cjs22(), 1);
8088
+ var import_utils26 = __toESM2(require_cjs22(), 1);
7991
8089
  var applyReset = (reset = {}) => {
7992
- const CONFIG22 = getActiveConfig4();
8090
+ const CONFIG22 = getActiveConfig3();
7993
8091
  const { RESET: RESET2, TYPOGRAPHY: TYPOGRAPHY22, DOCUMENT: DOCUMENT2 } = CONFIG22;
7994
8092
  if (RESET2) {
7995
8093
  if (RESET2[":root"]) {
7996
8094
  const configReset = RESET2;
7997
8095
  const configTemplates = TYPOGRAPHY22.templates;
7998
8096
  configReset.body = {
7999
- ...CONFIG22.useDocumentTheme ? getMediaTheme3("document", `@${CONFIG22.globalTheme}`) : {},
8097
+ ...CONFIG22.useDocumentTheme ? getMediaTheme2("document", `@${CONFIG22.globalTheme}`) : {},
8000
8098
  ...configTemplates.body
8001
8099
  };
8002
8100
  configReset.h1 = configTemplates.h1;
@@ -8007,10 +8105,10 @@ var require_cjs9 = __commonJS({
8007
8105
  configReset.h6 = configTemplates.h6;
8008
8106
  }
8009
8107
  const { body, ...templates } = TYPOGRAPHY22.templates;
8010
- const globalTheme = CONFIG22.useDocumentTheme ? getMediaTheme3("document", `@${CONFIG22.globalTheme}`) : {};
8108
+ const globalTheme = CONFIG22.useDocumentTheme ? getMediaTheme2("document", `@${CONFIG22.globalTheme}`) : {};
8011
8109
  if (RESET2.html)
8012
- (0, import_utils252.overwriteDeep)(RESET2.html, globalTheme);
8013
- return (0, import_utils252.deepMerge)((0, import_utils252.merge)(RESET2, reset), {
8110
+ (0, import_utils26.overwriteDeep)(RESET2.html, globalTheme);
8111
+ return (0, import_utils26.deepMerge)((0, import_utils26.merge)(RESET2, reset), {
8014
8112
  html: {
8015
8113
  position: "absolute",
8016
8114
  // overflow: 'hidden',
@@ -8047,7 +8145,7 @@ var require_cjs9 = __commonJS({
8047
8145
  });
8048
8146
  }
8049
8147
  };
8050
- var import_utils262 = __toESM2(require_cjs22(), 1);
8148
+ var import_utils27 = __toESM2(require_cjs22(), 1);
8051
8149
  var isBorderStyle = (str) => [
8052
8150
  "none",
8053
8151
  "hidden",
@@ -8061,7 +8159,7 @@ var require_cjs9 = __commonJS({
8061
8159
  "outset",
8062
8160
  "initial"
8063
8161
  ].some((v) => str.includes(v));
8064
- var transformBorder3 = (border) => {
8162
+ var transformBorder2 = (border) => {
8065
8163
  const arr = border.split(", ");
8066
8164
  return arr.map((v) => {
8067
8165
  v = v.trim();
@@ -8071,39 +8169,28 @@ var require_cjs9 = __commonJS({
8071
8169
  return v || "solid";
8072
8170
  else if (v.slice(-2) === "px" || v.slice(-2) === "em")
8073
8171
  return v;
8074
- else if (getColor3(v).length > 2)
8075
- return getColor3(v);
8076
- return getSpacingByKey5(v, "border").border;
8172
+ else if (getColor2(v).length > 2)
8173
+ return getColor2(v);
8174
+ return getSpacingByKey3(v, "border").border;
8077
8175
  }).join(" ");
8078
8176
  };
8079
- var transformTextStroke3 = (stroke) => {
8177
+ var transformTextStroke2 = (stroke) => {
8080
8178
  return stroke.split(", ").map((v) => {
8081
8179
  if (v.slice(0, 2) === "--")
8082
8180
  return `var(${v})`;
8083
8181
  if (v.includes("px"))
8084
8182
  return v;
8085
- else if (getColor3(v))
8086
- return getColor3(v);
8183
+ else if (getColor2(v))
8184
+ return getColor2(v);
8087
8185
  return v;
8088
8186
  }).join(" ");
8089
8187
  };
8090
- var transformShadow3 = (shadows) => shadows.split("|").map((shadow) => {
8091
- return shadow.split(", ").map((v) => {
8092
- v = v.trim();
8093
- if (v.slice(0, 2) === "--")
8094
- return `var(${v})`;
8095
- if (getColor3(v).length > 2)
8096
- return getColor3(v);
8097
- if (v.includes("px") || v.slice(-2) === "em")
8098
- return v;
8099
- const arr = v.split(" ");
8100
- if (!arr.length)
8101
- return v;
8102
- return arr.map((v2) => getSpacingByKey5(v2, "shadow").shadow).join(" ");
8103
- }).join(" ");
8104
- }).join(",");
8105
- var transformBackgroundImage3 = (backgroundImage, globalTheme) => {
8106
- const CONFIG22 = getActiveConfig4();
8188
+ var transformShadow2 = (sh, globalTheme) => {
8189
+ return sh.split(",").map((shadow) => getShadow(shadow, globalTheme)).join(",");
8190
+ };
8191
+ var transformBoxShadow2 = (sh, globalTheme) => getShadow(sh, globalTheme);
8192
+ var transformBackgroundImage2 = (backgroundImage, globalTheme) => {
8193
+ const CONFIG22 = getActiveConfig3();
8107
8194
  return backgroundImage.split(", ").map((v) => {
8108
8195
  if (v.slice(0, 2) === "--")
8109
8196
  return `var(${v})`;
@@ -8111,14 +8198,14 @@ var require_cjs9 = __commonJS({
8111
8198
  return v;
8112
8199
  else if (CONFIG22.GRADIENT[backgroundImage]) {
8113
8200
  return {
8114
- backgroundImage: getMediaColor5(backgroundImage, globalTheme || CONFIG22.globalTheme)
8201
+ backgroundImage: getMediaColor3(backgroundImage, globalTheme || CONFIG22.globalTheme)
8115
8202
  };
8116
8203
  } else if (v.includes("/") || v.includes("http"))
8117
8204
  return `url(${v})`;
8118
8205
  return v;
8119
8206
  }).join(" ");
8120
8207
  };
8121
- var transfromGap3 = (gap) => (0, import_utils262.isString)(gap) && gap.split(" ").map((v) => getSpacingByKey5(v, "gap").gap).join(" ");
8208
+ var transfromGap2 = (gap) => (0, import_utils27.isString)(gap) && gap.split(" ").map((v) => getSpacingByKey3(v, "gap").gap).join(" ");
8122
8209
  var transformTransition = (transition) => {
8123
8210
  const arr = transition.split(" ");
8124
8211
  if (!arr.length)
@@ -8127,28 +8214,28 @@ var require_cjs9 = __commonJS({
8127
8214
  if (v.slice(0, 2) === "--")
8128
8215
  return `var(${v})`;
8129
8216
  if (v.length < 3 || v.includes("ms")) {
8130
- const mapWithSequence = getTimingByKey3(v);
8217
+ const mapWithSequence = getTimingByKey2(v);
8131
8218
  return mapWithSequence.timing || v;
8132
8219
  }
8133
- if (getTimingFunction5(v))
8134
- return getTimingFunction5(v);
8220
+ if (getTimingFunction3(v))
8221
+ return getTimingFunction3(v);
8135
8222
  return v;
8136
8223
  }).join(" ");
8137
8224
  };
8138
- var transformDuration3 = (duration, props4, propertyName) => {
8139
- if (!(0, import_utils262.isString)(duration))
8225
+ var transformDuration2 = (duration, props4, propertyName) => {
8226
+ if (!(0, import_utils27.isString)(duration))
8140
8227
  return;
8141
- return duration.split(",").map((v) => getTimingByKey3(v).timing || v).join(",");
8228
+ return duration.split(",").map((v) => getTimingByKey2(v).timing || v).join(",");
8142
8229
  };
8143
- var splitTransition3 = (transition) => {
8230
+ var splitTransition2 = (transition) => {
8144
8231
  const arr = transition.split(",");
8145
8232
  if (!arr.length)
8146
8233
  return;
8147
8234
  return arr.map(transformTransition).join(",");
8148
8235
  };
8149
- var import_utils272 = __toESM2(require_cjs22(), 1);
8236
+ var import_utils28 = __toESM2(require_cjs22(), 1);
8150
8237
  var setCases = (val, key) => {
8151
- if ((0, import_utils272.isFunction)(val))
8238
+ if ((0, import_utils28.isFunction)(val))
8152
8239
  return val();
8153
8240
  return val;
8154
8241
  };
@@ -8164,6 +8251,7 @@ var require_cjs9 = __commonJS({
8164
8251
  svg_data: setSameValue,
8165
8252
  typography: setSameValue,
8166
8253
  cases: setCases,
8254
+ shadow: setShadow,
8167
8255
  spacing: setSameValue,
8168
8256
  media: setSameValue,
8169
8257
  timing: setSameValue,
@@ -8172,7 +8260,7 @@ var require_cjs9 = __commonJS({
8172
8260
  animation: setSameValue
8173
8261
  };
8174
8262
  var setValue = (FACTORY_NAME, value2, key) => {
8175
- const CONFIG22 = getActiveConfig4();
8263
+ const CONFIG22 = getActiveConfig3();
8176
8264
  const factoryName = FACTORY_NAME.toLowerCase();
8177
8265
  const FACTORY2 = CONFIG22[FACTORY_NAME];
8178
8266
  if (VALUE_TRANSFORMERS[factoryName]) {
@@ -8184,7 +8272,7 @@ var require_cjs9 = __commonJS({
8184
8272
  console.warn("Can not find", factoryName, "method in scratch");
8185
8273
  };
8186
8274
  var setEach = (factoryName, props4) => {
8187
- const CONFIG22 = getActiveConfig4();
8275
+ const CONFIG22 = getActiveConfig3();
8188
8276
  const FACTORY_NAME = factoryName.toUpperCase();
8189
8277
  const keys = Object.keys(props4);
8190
8278
  keys.map((key) => setValue(FACTORY_NAME, props4[key], key));
@@ -8192,7 +8280,7 @@ var require_cjs9 = __commonJS({
8192
8280
  };
8193
8281
  var SET_OPTIONS2 = {};
8194
8282
  var set5 = (recivedConfig, options = SET_OPTIONS2) => {
8195
- let CONFIG22 = getActiveConfig4();
8283
+ let CONFIG22 = getActiveConfig3();
8196
8284
  const {
8197
8285
  version,
8198
8286
  verbose,
@@ -8270,8 +8358,8 @@ var require_cjs10 = __commonJS({
8270
8358
  router: () => router2
8271
8359
  });
8272
8360
  module2.exports = __toCommonJS2(router_exports);
8273
- var import_utils30 = require_cjs();
8274
- var getActiveRoute = (level = 0, route = import_utils30.window.location.pathname) => {
8361
+ var import_utils24 = require_cjs();
8362
+ var getActiveRoute = (level = 0, route = import_utils24.window.location.pathname) => {
8275
8363
  const routeArray = route.split("/");
8276
8364
  const activeRoute = routeArray[level + 1];
8277
8365
  if (activeRoute)
@@ -8285,7 +8373,7 @@ var require_cjs10 = __commonJS({
8285
8373
  initialRender: false,
8286
8374
  scrollToTop: true,
8287
8375
  scrollToNode: false,
8288
- scrollNode: import_utils30.document && import_utils30.document.documentElement,
8376
+ scrollNode: import_utils24.document && import_utils24.document.documentElement,
8289
8377
  scrollBody: false,
8290
8378
  useFragment: false,
8291
8379
  updateState: true,
@@ -8300,13 +8388,13 @@ var require_cjs10 = __commonJS({
8300
8388
  const route = getActiveRoute(options.level, pathname);
8301
8389
  const content = element.routes[route || "/"] || element.routes["/*"];
8302
8390
  const scrollNode = options.scrollToNode ? rootNode : options.scrollNode;
8303
- const hashChanged = hash2 && hash2 !== import_utils30.window.location.hash.slice(1);
8391
+ const hashChanged = hash2 && hash2 !== import_utils24.window.location.hash.slice(1);
8304
8392
  const pathChanged = pathname !== lastPathname;
8305
8393
  lastPathname = pathname;
8306
8394
  if (!content)
8307
8395
  return;
8308
8396
  if (options.pushState) {
8309
- import_utils30.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
8397
+ import_utils24.window.history.pushState(state, null, pathname + (hash2 ? `#${hash2}` : ""));
8310
8398
  }
8311
8399
  if (pathChanged || !hashChanged) {
8312
8400
  if (options.updateState) {
@@ -8332,7 +8420,7 @@ var require_cjs10 = __commonJS({
8332
8420
  });
8333
8421
  }
8334
8422
  if (hash2) {
8335
- const activeNode = import_utils30.document.getElementById(hash2);
8423
+ const activeNode = import_utils24.document.getElementById(hash2);
8336
8424
  if (activeNode) {
8337
8425
  const top = activeNode.getBoundingClientRect().top + rootNode.scrollTop - options.scrollToOffset || 0;
8338
8426
  scrollNode.scrollTo({
@@ -8484,237 +8572,237 @@ var require_cjs12 = __commonJS({
8484
8572
  }
8485
8573
  });
8486
8574
 
8487
- // node_modules/@symbo.ls/default-icons/src/logo.svg
8575
+ // ../../uikit/icons/default-icons/src/logo.svg
8488
8576
  var require_logo = __commonJS({
8489
- "node_modules/@symbo.ls/default-icons/src/logo.svg"() {
8577
+ "../../uikit/icons/default-icons/src/logo.svg"() {
8490
8578
  }
8491
8579
  });
8492
8580
 
8493
- // node_modules/@symbo.ls/default-icons/src/arrow-down-circle.svg
8581
+ // ../../uikit/icons/default-icons/src/arrow-down-circle.svg
8494
8582
  var require_arrow_down_circle = __commonJS({
8495
- "node_modules/@symbo.ls/default-icons/src/arrow-down-circle.svg"() {
8583
+ "../../uikit/icons/default-icons/src/arrow-down-circle.svg"() {
8496
8584
  }
8497
8585
  });
8498
8586
 
8499
- // node_modules/@symbo.ls/default-icons/src/arrow-down-left.svg
8587
+ // ../../uikit/icons/default-icons/src/arrow-down-left.svg
8500
8588
  var require_arrow_down_left = __commonJS({
8501
- "node_modules/@symbo.ls/default-icons/src/arrow-down-left.svg"() {
8589
+ "../../uikit/icons/default-icons/src/arrow-down-left.svg"() {
8502
8590
  }
8503
8591
  });
8504
8592
 
8505
- // node_modules/@symbo.ls/default-icons/src/arrow-down-right.svg
8593
+ // ../../uikit/icons/default-icons/src/arrow-down-right.svg
8506
8594
  var require_arrow_down_right = __commonJS({
8507
- "node_modules/@symbo.ls/default-icons/src/arrow-down-right.svg"() {
8595
+ "../../uikit/icons/default-icons/src/arrow-down-right.svg"() {
8508
8596
  }
8509
8597
  });
8510
8598
 
8511
- // node_modules/@symbo.ls/default-icons/src/arrow-down.svg
8599
+ // ../../uikit/icons/default-icons/src/arrow-down.svg
8512
8600
  var require_arrow_down = __commonJS({
8513
- "node_modules/@symbo.ls/default-icons/src/arrow-down.svg"() {
8601
+ "../../uikit/icons/default-icons/src/arrow-down.svg"() {
8514
8602
  }
8515
8603
  });
8516
8604
 
8517
- // node_modules/@symbo.ls/default-icons/src/arrow-left-circle.svg
8605
+ // ../../uikit/icons/default-icons/src/arrow-left-circle.svg
8518
8606
  var require_arrow_left_circle = __commonJS({
8519
- "node_modules/@symbo.ls/default-icons/src/arrow-left-circle.svg"() {
8607
+ "../../uikit/icons/default-icons/src/arrow-left-circle.svg"() {
8520
8608
  }
8521
8609
  });
8522
8610
 
8523
- // node_modules/@symbo.ls/default-icons/src/arrow-left.svg
8611
+ // ../../uikit/icons/default-icons/src/arrow-left.svg
8524
8612
  var require_arrow_left = __commonJS({
8525
- "node_modules/@symbo.ls/default-icons/src/arrow-left.svg"() {
8613
+ "../../uikit/icons/default-icons/src/arrow-left.svg"() {
8526
8614
  }
8527
8615
  });
8528
8616
 
8529
- // node_modules/@symbo.ls/default-icons/src/arrow-right.svg
8617
+ // ../../uikit/icons/default-icons/src/arrow-right.svg
8530
8618
  var require_arrow_right = __commonJS({
8531
- "node_modules/@symbo.ls/default-icons/src/arrow-right.svg"() {
8619
+ "../../uikit/icons/default-icons/src/arrow-right.svg"() {
8532
8620
  }
8533
8621
  });
8534
8622
 
8535
- // node_modules/@symbo.ls/default-icons/src/arrow-right-circle.svg
8623
+ // ../../uikit/icons/default-icons/src/arrow-right-circle.svg
8536
8624
  var require_arrow_right_circle = __commonJS({
8537
- "node_modules/@symbo.ls/default-icons/src/arrow-right-circle.svg"() {
8625
+ "../../uikit/icons/default-icons/src/arrow-right-circle.svg"() {
8538
8626
  }
8539
8627
  });
8540
8628
 
8541
- // node_modules/@symbo.ls/default-icons/src/arrow-up-circle.svg
8629
+ // ../../uikit/icons/default-icons/src/arrow-up-circle.svg
8542
8630
  var require_arrow_up_circle = __commonJS({
8543
- "node_modules/@symbo.ls/default-icons/src/arrow-up-circle.svg"() {
8631
+ "../../uikit/icons/default-icons/src/arrow-up-circle.svg"() {
8544
8632
  }
8545
8633
  });
8546
8634
 
8547
- // node_modules/@symbo.ls/default-icons/src/arrow-up-left.svg
8635
+ // ../../uikit/icons/default-icons/src/arrow-up-left.svg
8548
8636
  var require_arrow_up_left = __commonJS({
8549
- "node_modules/@symbo.ls/default-icons/src/arrow-up-left.svg"() {
8637
+ "../../uikit/icons/default-icons/src/arrow-up-left.svg"() {
8550
8638
  }
8551
8639
  });
8552
8640
 
8553
- // node_modules/@symbo.ls/default-icons/src/arrow-up-right.svg
8641
+ // ../../uikit/icons/default-icons/src/arrow-up-right.svg
8554
8642
  var require_arrow_up_right = __commonJS({
8555
- "node_modules/@symbo.ls/default-icons/src/arrow-up-right.svg"() {
8643
+ "../../uikit/icons/default-icons/src/arrow-up-right.svg"() {
8556
8644
  }
8557
8645
  });
8558
8646
 
8559
- // node_modules/@symbo.ls/default-icons/src/arrow-up.svg
8647
+ // ../../uikit/icons/default-icons/src/arrow-up.svg
8560
8648
  var require_arrow_up = __commonJS({
8561
- "node_modules/@symbo.ls/default-icons/src/arrow-up.svg"() {
8649
+ "../../uikit/icons/default-icons/src/arrow-up.svg"() {
8562
8650
  }
8563
8651
  });
8564
8652
 
8565
- // node_modules/@symbo.ls/default-icons/src/check-circle.svg
8653
+ // ../../uikit/icons/default-icons/src/check-circle.svg
8566
8654
  var require_check_circle = __commonJS({
8567
- "node_modules/@symbo.ls/default-icons/src/check-circle.svg"() {
8655
+ "../../uikit/icons/default-icons/src/check-circle.svg"() {
8568
8656
  }
8569
8657
  });
8570
8658
 
8571
- // node_modules/@symbo.ls/default-icons/src/check.svg
8659
+ // ../../uikit/icons/default-icons/src/check.svg
8572
8660
  var require_check = __commonJS({
8573
- "node_modules/@symbo.ls/default-icons/src/check.svg"() {
8661
+ "../../uikit/icons/default-icons/src/check.svg"() {
8574
8662
  }
8575
8663
  });
8576
8664
 
8577
- // node_modules/@symbo.ls/default-icons/src/chevron-down.svg
8665
+ // ../../uikit/icons/default-icons/src/chevron-down.svg
8578
8666
  var require_chevron_down = __commonJS({
8579
- "node_modules/@symbo.ls/default-icons/src/chevron-down.svg"() {
8667
+ "../../uikit/icons/default-icons/src/chevron-down.svg"() {
8580
8668
  }
8581
8669
  });
8582
8670
 
8583
- // node_modules/@symbo.ls/default-icons/src/chevron-left.svg
8671
+ // ../../uikit/icons/default-icons/src/chevron-left.svg
8584
8672
  var require_chevron_left = __commonJS({
8585
- "node_modules/@symbo.ls/default-icons/src/chevron-left.svg"() {
8673
+ "../../uikit/icons/default-icons/src/chevron-left.svg"() {
8586
8674
  }
8587
8675
  });
8588
8676
 
8589
- // node_modules/@symbo.ls/default-icons/src/chevron-right.svg
8677
+ // ../../uikit/icons/default-icons/src/chevron-right.svg
8590
8678
  var require_chevron_right = __commonJS({
8591
- "node_modules/@symbo.ls/default-icons/src/chevron-right.svg"() {
8679
+ "../../uikit/icons/default-icons/src/chevron-right.svg"() {
8592
8680
  }
8593
8681
  });
8594
8682
 
8595
- // node_modules/@symbo.ls/default-icons/src/chevron-up.svg
8683
+ // ../../uikit/icons/default-icons/src/chevron-up.svg
8596
8684
  var require_chevron_up = __commonJS({
8597
- "node_modules/@symbo.ls/default-icons/src/chevron-up.svg"() {
8685
+ "../../uikit/icons/default-icons/src/chevron-up.svg"() {
8598
8686
  }
8599
8687
  });
8600
8688
 
8601
- // node_modules/@symbo.ls/default-icons/src/copy.svg
8689
+ // ../../uikit/icons/default-icons/src/copy.svg
8602
8690
  var require_copy = __commonJS({
8603
- "node_modules/@symbo.ls/default-icons/src/copy.svg"() {
8691
+ "../../uikit/icons/default-icons/src/copy.svg"() {
8604
8692
  }
8605
8693
  });
8606
8694
 
8607
- // node_modules/@symbo.ls/default-icons/src/dribbble.svg
8695
+ // ../../uikit/icons/default-icons/src/dribbble.svg
8608
8696
  var require_dribbble = __commonJS({
8609
- "node_modules/@symbo.ls/default-icons/src/dribbble.svg"() {
8697
+ "../../uikit/icons/default-icons/src/dribbble.svg"() {
8610
8698
  }
8611
8699
  });
8612
8700
 
8613
- // node_modules/@symbo.ls/default-icons/src/eye-off.svg
8701
+ // ../../uikit/icons/default-icons/src/eye-off.svg
8614
8702
  var require_eye_off = __commonJS({
8615
- "node_modules/@symbo.ls/default-icons/src/eye-off.svg"() {
8703
+ "../../uikit/icons/default-icons/src/eye-off.svg"() {
8616
8704
  }
8617
8705
  });
8618
8706
 
8619
- // node_modules/@symbo.ls/default-icons/src/eye.svg
8707
+ // ../../uikit/icons/default-icons/src/eye.svg
8620
8708
  var require_eye = __commonJS({
8621
- "node_modules/@symbo.ls/default-icons/src/eye.svg"() {
8709
+ "../../uikit/icons/default-icons/src/eye.svg"() {
8622
8710
  }
8623
8711
  });
8624
8712
 
8625
- // node_modules/@symbo.ls/default-icons/src/file.svg
8713
+ // ../../uikit/icons/default-icons/src/file.svg
8626
8714
  var require_file = __commonJS({
8627
- "node_modules/@symbo.ls/default-icons/src/file.svg"() {
8715
+ "../../uikit/icons/default-icons/src/file.svg"() {
8628
8716
  }
8629
8717
  });
8630
8718
 
8631
- // node_modules/@symbo.ls/default-icons/src/info.svg
8719
+ // ../../uikit/icons/default-icons/src/info.svg
8632
8720
  var require_info = __commonJS({
8633
- "node_modules/@symbo.ls/default-icons/src/info.svg"() {
8721
+ "../../uikit/icons/default-icons/src/info.svg"() {
8634
8722
  }
8635
8723
  });
8636
8724
 
8637
- // node_modules/@symbo.ls/default-icons/src/minus.svg
8725
+ // ../../uikit/icons/default-icons/src/minus.svg
8638
8726
  var require_minus = __commonJS({
8639
- "node_modules/@symbo.ls/default-icons/src/minus.svg"() {
8727
+ "../../uikit/icons/default-icons/src/minus.svg"() {
8640
8728
  }
8641
8729
  });
8642
8730
 
8643
- // node_modules/@symbo.ls/default-icons/src/moon.svg
8731
+ // ../../uikit/icons/default-icons/src/moon.svg
8644
8732
  var require_moon = __commonJS({
8645
- "node_modules/@symbo.ls/default-icons/src/moon.svg"() {
8733
+ "../../uikit/icons/default-icons/src/moon.svg"() {
8646
8734
  }
8647
8735
  });
8648
8736
 
8649
- // node_modules/@symbo.ls/default-icons/src/more-horizontal.svg
8737
+ // ../../uikit/icons/default-icons/src/more-horizontal.svg
8650
8738
  var require_more_horizontal = __commonJS({
8651
- "node_modules/@symbo.ls/default-icons/src/more-horizontal.svg"() {
8739
+ "../../uikit/icons/default-icons/src/more-horizontal.svg"() {
8652
8740
  }
8653
8741
  });
8654
8742
 
8655
- // node_modules/@symbo.ls/default-icons/src/more-vertical.svg
8743
+ // ../../uikit/icons/default-icons/src/more-vertical.svg
8656
8744
  var require_more_vertical = __commonJS({
8657
- "node_modules/@symbo.ls/default-icons/src/more-vertical.svg"() {
8745
+ "../../uikit/icons/default-icons/src/more-vertical.svg"() {
8658
8746
  }
8659
8747
  });
8660
8748
 
8661
- // node_modules/@symbo.ls/default-icons/src/sun.svg
8749
+ // ../../uikit/icons/default-icons/src/sun.svg
8662
8750
  var require_sun = __commonJS({
8663
- "node_modules/@symbo.ls/default-icons/src/sun.svg"() {
8751
+ "../../uikit/icons/default-icons/src/sun.svg"() {
8664
8752
  }
8665
8753
  });
8666
8754
 
8667
- // node_modules/@symbo.ls/default-icons/src/send.svg
8755
+ // ../../uikit/icons/default-icons/src/send.svg
8668
8756
  var require_send = __commonJS({
8669
- "node_modules/@symbo.ls/default-icons/src/send.svg"() {
8757
+ "../../uikit/icons/default-icons/src/send.svg"() {
8670
8758
  }
8671
8759
  });
8672
8760
 
8673
- // node_modules/@symbo.ls/default-icons/src/smile.svg
8761
+ // ../../uikit/icons/default-icons/src/smile.svg
8674
8762
  var require_smile = __commonJS({
8675
- "node_modules/@symbo.ls/default-icons/src/smile.svg"() {
8763
+ "../../uikit/icons/default-icons/src/smile.svg"() {
8676
8764
  }
8677
8765
  });
8678
8766
 
8679
- // node_modules/@symbo.ls/default-icons/src/search.svg
8767
+ // ../../uikit/icons/default-icons/src/search.svg
8680
8768
  var require_search = __commonJS({
8681
- "node_modules/@symbo.ls/default-icons/src/search.svg"() {
8769
+ "../../uikit/icons/default-icons/src/search.svg"() {
8682
8770
  }
8683
8771
  });
8684
8772
 
8685
- // node_modules/@symbo.ls/default-icons/src/phone.svg
8773
+ // ../../uikit/icons/default-icons/src/phone.svg
8686
8774
  var require_phone = __commonJS({
8687
- "node_modules/@symbo.ls/default-icons/src/phone.svg"() {
8775
+ "../../uikit/icons/default-icons/src/phone.svg"() {
8688
8776
  }
8689
8777
  });
8690
8778
 
8691
- // node_modules/@symbo.ls/default-icons/src/twitch.svg
8779
+ // ../../uikit/icons/default-icons/src/twitch.svg
8692
8780
  var require_twitch = __commonJS({
8693
- "node_modules/@symbo.ls/default-icons/src/twitch.svg"() {
8781
+ "../../uikit/icons/default-icons/src/twitch.svg"() {
8694
8782
  }
8695
8783
  });
8696
8784
 
8697
- // node_modules/@symbo.ls/default-icons/src/upload.svg
8785
+ // ../../uikit/icons/default-icons/src/upload.svg
8698
8786
  var require_upload = __commonJS({
8699
- "node_modules/@symbo.ls/default-icons/src/upload.svg"() {
8787
+ "../../uikit/icons/default-icons/src/upload.svg"() {
8700
8788
  }
8701
8789
  });
8702
8790
 
8703
- // node_modules/@symbo.ls/default-icons/src/video.svg
8791
+ // ../../uikit/icons/default-icons/src/video.svg
8704
8792
  var require_video = __commonJS({
8705
- "node_modules/@symbo.ls/default-icons/src/video.svg"() {
8793
+ "../../uikit/icons/default-icons/src/video.svg"() {
8706
8794
  }
8707
8795
  });
8708
8796
 
8709
- // node_modules/@symbo.ls/default-icons/src/x.svg
8797
+ // ../../uikit/icons/default-icons/src/x.svg
8710
8798
  var require_x = __commonJS({
8711
- "node_modules/@symbo.ls/default-icons/src/x.svg"() {
8799
+ "../../uikit/icons/default-icons/src/x.svg"() {
8712
8800
  }
8713
8801
  });
8714
8802
 
8715
- // node_modules/@symbo.ls/default-icons/src/plus.svg
8803
+ // ../../uikit/icons/default-icons/src/plus.svg
8716
8804
  var require_plus = __commonJS({
8717
- "node_modules/@symbo.ls/default-icons/src/plus.svg"() {
8805
+ "../../uikit/icons/default-icons/src/plus.svg"() {
8718
8806
  }
8719
8807
  });
8720
8808
 
@@ -8727,7 +8815,7 @@ __export(src_exports, {
8727
8815
  });
8728
8816
  module.exports = __toCommonJS(src_exports);
8729
8817
  var import_domql = __toESM(require_cjs8(), 1);
8730
- var import_utils29 = __toESM(require_cjs(), 1);
8818
+ var import_utils23 = __toESM(require_cjs(), 1);
8731
8819
 
8732
8820
  // src/utilImports.js
8733
8821
  var utilImports_exports = {};
@@ -10184,7 +10272,7 @@ var SET_OPTIONS = {
10184
10272
  useSvgSprite: true
10185
10273
  };
10186
10274
  var init = (config, options = SET_OPTIONS) => {
10187
- const emotion4 = options.emotion || emotion;
10275
+ const emotion2 = options.emotion || emotion;
10188
10276
  const resultConfig = mergeWithLocalFile(config || {});
10189
10277
  const conf = (0, import_scratch.set)({
10190
10278
  verbose: options.verbose,
@@ -10205,11 +10293,11 @@ var init = (config, options = SET_OPTIONS) => {
10205
10293
  const useIconSprite = conf.useIconSprite;
10206
10294
  const hasIcons = config.icons || config.ICONS;
10207
10295
  if (useFontImport)
10208
- emotion4.injectGlobal(FontFace);
10296
+ emotion2.injectGlobal(FontFace);
10209
10297
  if (useVariable)
10210
- emotion4.injectGlobal({ ":root": conf.CSS_VARS });
10298
+ emotion2.injectGlobal({ ":root": conf.CSS_VARS });
10211
10299
  if (useReset)
10212
- emotion4.injectGlobal(conf.RESET);
10300
+ emotion2.injectGlobal(conf.RESET);
10213
10301
  if (hasSvgs)
10214
10302
  (0, import_scratch.appendSVGSprite)(hasSvgs, { document: options.document });
10215
10303
  else if (useSvgSprite)
@@ -10224,14 +10312,14 @@ var UPDATE_OPTIONS = {
10224
10312
  emotion
10225
10313
  };
10226
10314
  var updateReset = (config, RC_FILE, options = UPDATE_OPTIONS) => {
10227
- const emotion4 = options.emotion || emotion;
10315
+ const emotion2 = options.emotion || emotion;
10228
10316
  const resultConfig = mergeWithLocalFile(config || {}, RC_FILE);
10229
10317
  const conf = (0, import_scratch.set)({
10230
10318
  verbose: false,
10231
10319
  ...resultConfig
10232
10320
  });
10233
- emotion4.injectGlobal({ ":root": conf.CSS_VARS });
10234
- emotion4.injectGlobal(conf.RESET);
10321
+ emotion2.injectGlobal({ ":root": conf.CSS_VARS });
10322
+ emotion2.injectGlobal(conf.RESET);
10235
10323
  };
10236
10324
 
10237
10325
  // src/utilImports.js
@@ -10672,7 +10760,6 @@ var Img = {
10672
10760
  // ../../uikit/domql/Atoms/Form.js
10673
10761
  var Form = {
10674
10762
  tag: "form",
10675
- props: {},
10676
10763
  attr: {
10677
10764
  action: ({ props: props4 }) => props4.action,
10678
10765
  method: ({ props: props4 }) => props4.method,
@@ -10734,8 +10821,8 @@ var getComputedBackgroundColor = ({ props: props4 }) => {
10734
10821
  return (0, import_scratch6.getColor)(props4.shapeDirectionColor) || (0, import_scratch6.getColor)(props4.borderColor) || (0, import_scratch6.getColor)(props4.backgroundColor) || (0, import_scratch6.getColor)(props4.background);
10735
10822
  };
10736
10823
  var inheritTransition = ({ props: props4, deps }) => {
10737
- const exec5 = Timing.class.transition({ props: props4, deps });
10738
- return exec5 && exec5.transition;
10824
+ const exec4 = Timing.class.transition({ props: props4, deps });
10825
+ return exec4 && exec4.transition;
10739
10826
  };
10740
10827
  var SHAPES = {
10741
10828
  rectangle: {},
@@ -10924,6 +11011,7 @@ var Theme = {
10924
11011
  getMediaColor: import_scratch7.getMediaColor,
10925
11012
  transformTextStroke: import_scratch7.transformTextStroke,
10926
11013
  transformShadow: import_scratch7.transformShadow,
11014
+ transformBoxShadow: import_scratch7.transformBoxShadow,
10927
11015
  transformBorder: import_scratch7.transformBorder,
10928
11016
  transformBackgroundImage: import_scratch7.transformBackgroundImage
10929
11017
  },
@@ -10934,8 +11022,8 @@ var Theme = {
10934
11022
  const globalTheme = deps.getSystemTheme(element);
10935
11023
  if (!props4.theme)
10936
11024
  return;
10937
- const getMediaTheme3 = deps.getMediaTheme(props4.theme, `@${props4.themeModifier || globalTheme}`);
10938
- return getMediaTheme3;
11025
+ const getMediaTheme2 = deps.getMediaTheme(props4.theme, `@${props4.themeModifier || globalTheme}`);
11026
+ return getMediaTheme2;
10939
11027
  },
10940
11028
  color: (element) => {
10941
11029
  const { props: props4, deps } = element;
@@ -11006,11 +11094,23 @@ var Theme = {
11006
11094
  borderBottom: ({ props: props4, deps }) => !(0, import_utils5.isUndefined)(props4.borderBottom) && {
11007
11095
  borderBottom: deps.transformBorder(props4.borderBottom)
11008
11096
  },
11097
+ shadow: (element) => {
11098
+ const { props: props4, deps } = element;
11099
+ const globalTheme = deps.getSystemTheme(element);
11100
+ if (!props4.backgroundImage)
11101
+ return;
11102
+ return {
11103
+ boxShadow: deps.transformShadow(props4.backgroundImage, globalTheme)
11104
+ };
11105
+ },
11009
11106
  boxShadow: ({ props: props4, deps }) => !(0, import_utils5.isUndefined)(props4.boxShadow) && {
11010
- boxShadow: deps.transformShadow(props4.boxShadow)
11107
+ boxShadow: deps.transformBoxShadow(props4.boxShadow)
11011
11108
  },
11012
11109
  textShadow: ({ props: props4, deps }) => !(0, import_utils5.isUndefined)(props4.textShadow) && {
11013
- textShadow: deps.transformShadow(props4.textShadow)
11110
+ textShadow: deps.transformBoxShadow(props4.textShadow)
11111
+ },
11112
+ backdropFilter: ({ props: props4, deps }) => !(0, import_utils5.isUndefined)(props4.backdropFilter) && {
11113
+ backdropFilter: props4.backdropFilter
11014
11114
  },
11015
11115
  opacity: ({ props: props4 }) => !(0, import_utils5.isUndefined)(props4.opacity) && {
11016
11116
  opacity: props4.opacity
@@ -11364,27 +11464,31 @@ var Collection = {
11364
11464
  param = param.parse();
11365
11465
  if ((0, import_utils7.isNot)(param)("array", "object"))
11366
11466
  return;
11367
- if (el.key === "cnt") {
11368
- if (el.__ref.__stateCollectionCache) {
11369
- const d = (0, import_utils7.diff)(param, el.__ref.__stateCollectionCache);
11467
+ const { __ref: ref } = el;
11468
+ if (ref.__stateCollectionCache) {
11469
+ const d = (0, import_utils7.deepDiff)(param, ref.__stateCollectionCache);
11470
+ if (Object.keys(d).length) {
11471
+ ref.__stateCollectionCache = (0, import_utils7.deepClone)(param);
11472
+ delete ref.__noCollectionDifference;
11370
11473
  } else {
11371
- el.__ref.__stateCollectionCache = (0, import_utils7.deepClone)(param);
11474
+ ref.__noCollectionDifference = true;
11475
+ return;
11372
11476
  }
11477
+ } else {
11478
+ ref.__stateCollectionCache = (0, import_utils7.deepClone)(param);
11373
11479
  }
11374
11480
  const obj = {
11375
11481
  tag: "fragment",
11376
11482
  props: {
11377
- childProps: el.props.childProps
11483
+ childProps: el.props && el.props.childProps
11378
11484
  }
11379
11485
  };
11380
11486
  for (const key in param) {
11381
11487
  const value2 = param[key];
11382
11488
  obj[key] = { state: (0, import_utils7.isObjectLike)(value2) ? value2 : { value: value2 } };
11383
11489
  }
11384
- if (!(0, import_utils7.deepContains)(obj, el.content)) {
11385
- el.removeContent();
11386
- el.content = obj;
11387
- }
11490
+ el.removeContent();
11491
+ el.content = obj;
11388
11492
  return obj;
11389
11493
  },
11390
11494
  $setPropsCollection: (param, el, state) => {
@@ -11400,20 +11504,31 @@ var Collection = {
11400
11504
  param = param.parse();
11401
11505
  if ((0, import_utils7.isNot)(param)("array", "object"))
11402
11506
  return;
11507
+ const { __ref: ref } = el;
11508
+ if (ref.__propsCollectionCache) {
11509
+ const d = (0, import_utils7.deepDiff)(param, ref.__propsCollectionCache);
11510
+ if (Object.keys(d).length) {
11511
+ ref.__propsCollectionCache = (0, import_utils7.deepClone)(param);
11512
+ delete ref.__noCollectionDifference;
11513
+ } else {
11514
+ ref.__noCollectionDifference = true;
11515
+ return;
11516
+ }
11517
+ } else {
11518
+ ref.__propsCollectionCache = (0, import_utils7.deepClone)(param);
11519
+ }
11403
11520
  const obj = {
11404
11521
  tag: "fragment",
11405
11522
  props: {
11406
- childProps: el.props.childProps
11523
+ childProps: el.props && el.props.childProps
11407
11524
  }
11408
11525
  };
11409
11526
  for (const key in param) {
11410
11527
  const value2 = param[key];
11411
11528
  obj[key] = { props: (0, import_utils7.isObjectLike)(value2) ? value2 : { value: value2 } };
11412
11529
  }
11413
- if (!(0, import_utils7.deepContains)(obj, el.content)) {
11414
- el.removeContent();
11415
- el.content = obj;
11416
- }
11530
+ el.removeContent();
11531
+ el.content = obj;
11417
11532
  return obj;
11418
11533
  }
11419
11534
  }
@@ -11423,7 +11538,6 @@ var Collection = {
11423
11538
  var import_scratch8 = __toESM(require_cjs9());
11424
11539
  var Position = {
11425
11540
  deps: { getSpacingByKey: import_scratch8.getSpacingByKey },
11426
- props: {},
11427
11541
  class: {
11428
11542
  position: ({ props: props4 }) => props4.position && { position: props4.position },
11429
11543
  inset: ({ props: props4, deps }) => {
@@ -11723,9 +11837,9 @@ var Icon = {
11723
11837
  props: ({ key, props: props4, parent, context, deps }) => {
11724
11838
  const { ICONS, useIconSprite, verbose } = context && context.designSystem;
11725
11839
  const { toCamelCase: toCamelCase2 } = context && context.utils;
11726
- const iconName = props4.inheritedString || props4.name || props4.icon || key;
11840
+ const iconName = props4.name || props4.icon || key;
11727
11841
  const camelCase = toCamelCase2(deps.isString(iconName) ? iconName : key);
11728
- const isArray8 = camelCase.split(/([a-z])([A-Z])/g);
11842
+ const isArray6 = camelCase.split(/([a-z])([A-Z])/g);
11729
11843
  let activeIconName;
11730
11844
  if (props4.active) {
11731
11845
  activeIconName = props4[".active"].name || props4[".active"].icon;
@@ -11738,10 +11852,10 @@ var Icon = {
11738
11852
  validIconName = activeIconName;
11739
11853
  if (ICONS[camelCase])
11740
11854
  validIconName = camelCase;
11741
- else if (ICONS[isArray8[0] + isArray8[1]])
11742
- validIconName = isArray8[0] + isArray8[1];
11743
- else if (ICONS[isArray8[0]])
11744
- validIconName = isArray8[0];
11855
+ else if (ICONS[isArray6[0] + isArray6[1]])
11856
+ validIconName = isArray6[0] + isArray6[1];
11857
+ else if (ICONS[isArray6[0]])
11858
+ validIconName = isArray6[0];
11745
11859
  else {
11746
11860
  if (verbose)
11747
11861
  console.warn("Can't find icon:", iconName, validIconName);
@@ -11766,8 +11880,11 @@ var IconText = {
11766
11880
  lineHeight: 1
11767
11881
  },
11768
11882
  Icon: {
11769
- props: ({ parent, props: props4 }) => ({ icon: parent.props.icon || props4.name || props4.icon }),
11770
- if: ({ parent, props: props4 }) => parent.props.icon || parent.props.Icon || props4.name || props4.icon
11883
+ props: ({ parent, props: props4 }) => ({ icon: parent.props.icon }),
11884
+ if: ({ parent, props: props4 }) => {
11885
+ const doesExist = parent.props.icon || parent.props.Icon || props4.name || props4.icon;
11886
+ return doesExist;
11887
+ }
11771
11888
  },
11772
11889
  text: ({ props: props4 }) => props4.text,
11773
11890
  ".reversed": {
@@ -12042,8 +12159,8 @@ var Link = {
12042
12159
  attr: {
12043
12160
  href: (el) => {
12044
12161
  const { context: ctx } = el;
12045
- const { exec: exec5 } = ctx.utils;
12046
- return exec5(el.props.href, el) || exec5(el.props, el).href;
12162
+ const { exec: exec4 } = ctx.utils;
12163
+ return exec4(el.props.href, el) || exec4(el.props, el).href;
12047
12164
  },
12048
12165
  target: ({ props: props4 }) => props4.target,
12049
12166
  "aria-label": ({ props: props4 }) => props4.aria ? props4.aria.label : props4.text,
@@ -12146,8 +12263,8 @@ var Input = {
12146
12263
  autocomplete: ({ props: props4 }) => props4.autocomplete,
12147
12264
  placeholder: ({ props: props4 }) => props4.placeholder,
12148
12265
  value: ({ props: props4, state, deps }) => {
12149
- const { isString: isString13, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
12150
- if (isString13(props4.value) && props4.value.includes("{{")) {
12266
+ const { isString: isString9, replaceLiteralsWithObjectFields: replaceLiteralsWithObjectFields2 } = deps;
12267
+ if (isString9(props4.value) && props4.value.includes("{{")) {
12151
12268
  return replaceLiteralsWithObjectFields2(props4.value, state);
12152
12269
  }
12153
12270
  return props4.value;
@@ -12172,6 +12289,7 @@ var NumberInput = {
12172
12289
 
12173
12290
  // ../../uikit/domql/Input/Checkbox.js
12174
12291
  var Checkbox = {
12292
+ extend: Focusable,
12175
12293
  tag: "label",
12176
12294
  props: {
12177
12295
  boxSize: "fit-content fit-content",
@@ -12179,28 +12297,32 @@ var Checkbox = {
12179
12297
  round: "Y"
12180
12298
  },
12181
12299
  Input: {
12182
- type: "checkbox",
12183
- display: "none",
12184
- ":checked + div": {
12185
- background: "#0474F2",
12186
- border: "1px solid transparent"
12300
+ props: {
12301
+ type: "checkbox",
12302
+ display: "none",
12303
+ ":checked + div": { theme: "primary" },
12304
+ ":checked + div > svg": {
12305
+ transform: "none",
12306
+ opacity: "1"
12307
+ }
12187
12308
  },
12188
- ":checked + div > svg": { opacity: "1" }
12309
+ attr: { checked: ({ parent }) => parent.props.checked }
12189
12310
  },
12190
12311
  Flex: {
12191
12312
  props: {
12192
12313
  align: "center center",
12193
12314
  fontSize: "B1",
12194
12315
  padding: "V",
12195
- border: "1px solid #57575C",
12316
+ theme: "tertiary .outline",
12196
12317
  round: "X2",
12197
- transition: "background .15s ease-in-out"
12318
+ transition: "background A defaultBezier"
12198
12319
  },
12199
12320
  Icon: {
12200
12321
  props: {
12201
12322
  icon: "check",
12202
12323
  opacity: "0",
12203
- transition: "opacity .15s ease-in-out"
12324
+ transform: "scale(0.9) rotate(-15deg)",
12325
+ transition: "opacity B defaultBezier"
12204
12326
  }
12205
12327
  }
12206
12328
  }
@@ -12228,6 +12350,7 @@ var Radio = {
12228
12350
  ":checked + div:after": { opacity: "1" }
12229
12351
  },
12230
12352
  Flex: {
12353
+ extend: Pseudo,
12231
12354
  props: {
12232
12355
  round: "100%",
12233
12356
  padding: "Y",
@@ -12297,8 +12420,6 @@ var Textarea = {
12297
12420
  placeholder: "Leave us a message...",
12298
12421
  fontSize: "Z1",
12299
12422
  padding: "A",
12300
- background: "rgba(0, 0, 0, 0)",
12301
- border: "1px solid #3F3F43",
12302
12423
  color: "white",
12303
12424
  style: { resize: "none" }
12304
12425
  },
@@ -12626,7 +12747,7 @@ var CommonButton = {
12626
12747
  Caption: {
12627
12748
  props: {
12628
12749
  text: "Button",
12629
- line_height: "1em"
12750
+ lineHeight: "1em"
12630
12751
  }
12631
12752
  }
12632
12753
  };
@@ -12905,8 +13026,8 @@ var Range = {
12905
13026
  tag: "input",
12906
13027
  attr: { type: "range" }
12907
13028
  };
12908
- var listenProp = (el, prop, def) => {
12909
- const val = el.props && el.props[prop];
13029
+ var returnPropertyValue = (el, property, def) => {
13030
+ const val = el.props && el.props[property];
12910
13031
  const r = (0, import_utils13.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 50;
12911
13032
  return r + "";
12912
13033
  };
@@ -12916,15 +13037,25 @@ var RangeWithButtons = {
12916
13037
  props: { theme: "tertiary", icon: "minus" },
12917
13038
  on: {
12918
13039
  click: (ev, el, s) => {
12919
- el.props && (0, import_utils13.isFunction)(el.props.onClick) && el.props.onClick(ev, el, s);
13040
+ const parentProps = el.parent.props;
13041
+ if ((0, import_utils13.isFunction)(parentProps.onDecrease)) {
13042
+ parentProps.onDecrease(ev, el.parent, s);
13043
+ } else {
13044
+ const value2 = parseFloat(s.value);
13045
+ const min = returnPropertyValue(el.parent, "min", 1);
13046
+ const step = returnPropertyValue(el.parent, "step", 1);
13047
+ if (value2 > min) {
13048
+ s.update({ value: value2 - step });
13049
+ }
13050
+ }
12920
13051
  }
12921
13052
  }
12922
13053
  },
12923
13054
  value: {
12924
- style: { width: "4ch" },
13055
+ props: { width: "4ch" },
12925
13056
  tag: "span",
12926
13057
  text: ({ state, parent }) => {
12927
- const unit = listenProp(parent.input, "unit", "");
13058
+ const unit = returnPropertyValue(parent, "unit", "");
12928
13059
  return "" + (state.value || 50) + unit;
12929
13060
  }
12930
13061
  },
@@ -12932,13 +13063,27 @@ var RangeWithButtons = {
12932
13063
  extend: Range,
12933
13064
  attr: {
12934
13065
  value: (el, s) => parseFloat(el.state.value),
12935
- min: (el, s) => listenProp(el, "min", 0),
12936
- max: (el, s) => listenProp(el, "max", 100),
12937
- step: (el, s) => listenProp(el, "step", 1)
13066
+ min: (el, s) => returnPropertyValue(el.parent, "min", 0),
13067
+ max: (el, s) => returnPropertyValue(el.parent, "max", 100),
13068
+ step: (el, s) => returnPropertyValue(el.parent, "step", 1)
12938
13069
  },
12939
13070
  on: {
12940
- input: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.onInput) && el.props.onInput(ev, el, el.state),
12941
- change: (ev, el, s) => el.props && (0, import_utils13.isFunction)(el.props.onChange) && el.props.onChange(ev, el, el.state)
13071
+ input: (ev, el, s) => {
13072
+ const parentProps = el.parent.props;
13073
+ if ((0, import_utils13.isFunction)(parentProps.onInput)) {
13074
+ parentProps.onInput(ev, el, s);
13075
+ } else {
13076
+ s.update({ value: parseFloat(el.node.value) });
13077
+ }
13078
+ },
13079
+ change: (ev, el, s) => {
13080
+ const parentProps = el.parent.props;
13081
+ if ((0, import_utils13.isFunction)(parentProps.onChange)) {
13082
+ parentProps.onChange(ev, el, s);
13083
+ } else {
13084
+ s.update({ value: parseFloat(el.node.value) });
13085
+ }
13086
+ }
12942
13087
  }
12943
13088
  },
12944
13089
  plus: {
@@ -12946,7 +13091,17 @@ var RangeWithButtons = {
12946
13091
  props: { theme: "tertiary", icon: "plus" },
12947
13092
  on: {
12948
13093
  click: (ev, el, s) => {
12949
- el.props && (0, import_utils13.isFunction)(el.props.onClick) && el.props.onClick(ev, el, el.state);
13094
+ const parentProps = el.parent.props;
13095
+ if ((0, import_utils13.isFunction)(parentProps.onIncrease)) {
13096
+ parentProps.onIncrease(ev, el.parent, s);
13097
+ } else {
13098
+ const value2 = parseFloat(s.value);
13099
+ const max = returnPropertyValue(el.parent, "max", 1);
13100
+ const step = returnPropertyValue(el.parent, "step", 1);
13101
+ if (value2 < max) {
13102
+ s.update({ value: value2 + step });
13103
+ }
13104
+ }
12950
13105
  }
12951
13106
  }
12952
13107
  }
@@ -13003,7 +13158,7 @@ var RangeSlider = {
13003
13158
  tag: "input",
13004
13159
  attr: { type: "range" }
13005
13160
  };
13006
- var listenProp2 = (el, prop, def) => {
13161
+ var listenProp = (el, prop, def) => {
13007
13162
  const val = el && el.props && el.props[prop];
13008
13163
  const r = ((0, import_utils14.isFunction)(val) ? val() : val) || (def !== void 0 ? def : 50);
13009
13164
  return r;
@@ -13028,18 +13183,18 @@ var Slider = {
13028
13183
  style: { width: "4ch" },
13029
13184
  tag: "span",
13030
13185
  text: (el, s) => {
13031
- const value2 = listenProp2(el.parent.input, "value");
13032
- const unit = listenProp2(el.parent.input, "unit", "");
13186
+ const value2 = listenProp(el.parent.input, "value");
13187
+ const unit = listenProp(el.parent.input, "unit", "");
13033
13188
  return "" + value2 + unit;
13034
13189
  }
13035
13190
  },
13036
13191
  range: {
13037
13192
  extend: RangeSlider,
13038
13193
  attr: {
13039
- value: (el, s) => listenProp2(el, "value", 50),
13040
- min: (el, s) => listenProp2(el, "min", 0),
13041
- max: (el, s) => listenProp2(el, "max", 100),
13042
- step: (el, s) => listenProp2(el, "step", 1)
13194
+ value: (el, s) => listenProp(el, "value", 50),
13195
+ min: (el, s) => listenProp(el, "min", 0),
13196
+ max: (el, s) => listenProp(el, "max", 100),
13197
+ step: (el, s) => listenProp(el, "step", 1)
13043
13198
  },
13044
13199
  on: {
13045
13200
  input: (ev, el, s) => el.props && (0, import_utils14.isFunction)(el.props.input) && el.props.input(ev, el, s),
@@ -13154,6 +13309,7 @@ var AvatarBundle = {
13154
13309
  var AvatarChooser = {
13155
13310
  extend: Button,
13156
13311
  tag: "label",
13312
+ state: { key: "am" },
13157
13313
  props: {
13158
13314
  round: "C",
13159
13315
  width: "fit-content",
@@ -13200,8 +13356,8 @@ var AvatarChooser = {
13200
13356
  },
13201
13357
  on: {
13202
13358
  change: (ev, { state }) => {
13203
- state.update({ key: ev.target.value });
13204
13359
  console.log(state.key);
13360
+ state.update({ key: ev.target.value });
13205
13361
  }
13206
13362
  }
13207
13363
  },
@@ -13263,6 +13419,7 @@ var NotificationIndicator = {
13263
13419
  };
13264
13420
 
13265
13421
  // ../../uikit/domql/Tooltip/index.js
13422
+ var import_utils15 = __toESM(require_cjs());
13266
13423
  var Tooltip = {
13267
13424
  extend: Flex,
13268
13425
  props: {
@@ -13281,20 +13438,24 @@ var Tooltip = {
13281
13438
  },
13282
13439
  attr: { tooltip: true },
13283
13440
  Title: {
13284
- props: {
13441
+ if: ({ parent, props: props4 }) => (0, import_utils15.isDefined)(parent.props.title) || props4.text,
13442
+ props: ({ parent }) => ({
13443
+ width: "fit-content",
13285
13444
  fontWeight: 500,
13286
13445
  color: "gray12",
13287
- text: "And tooltip is coming"
13288
- }
13446
+ text: parent.props.title
13447
+ })
13289
13448
  },
13290
13449
  P: {
13291
- props: {
13450
+ if: ({ parent, props: props4 }) => (0, import_utils15.isDefined)(parent.props.description) || props4.text,
13451
+ props: ({ parent }) => ({
13452
+ width: "fit-content",
13292
13453
  fontSize: "Z2",
13293
13454
  margin: "0",
13294
13455
  color: "gray6",
13295
- text: "and winter too",
13296
- fontWeight: "400"
13297
- }
13456
+ fontWeight: "400",
13457
+ text: parent.props.description
13458
+ })
13298
13459
  }
13299
13460
  };
13300
13461
  var TooltipHidden = {
@@ -13347,7 +13508,7 @@ var TooltipHidden = {
13347
13508
  var TooltipParent = {
13348
13509
  props: ({ Tooltip: Tooltip2, TooltipHidden: TooltipHidden2 }) => {
13349
13510
  const TooltipElem = Tooltip2 || TooltipHidden2;
13350
- const TooltipActive = TooltipElem && TooltipElem[".active"];
13511
+ const TooltipActive = TooltipElem && TooltipElem.props[".active"];
13351
13512
  return {
13352
13513
  position: "relative",
13353
13514
  zIndex: 999,
@@ -13739,91 +13900,6 @@ var Modal = {
13739
13900
  Footer: { extend: Flex }
13740
13901
  };
13741
13902
 
13742
- // ../../uikit/domql/Modal/node_modules/@symbo.ls/icon/index.js
13743
- var import_utils15 = __toESM(require_cjs());
13744
- var IconText2 = {
13745
- extend: Flex,
13746
- props: {
13747
- align: "center center",
13748
- lineHeight: 1
13749
- },
13750
- Icon: {
13751
- props: ({ parent, props: props4 }) => ({ icon: parent.props.icon || props4.name || props4.icon }),
13752
- if: ({ parent, props: props4 }) => parent.props.icon || parent.props.Icon || props4.name || props4.icon
13753
- },
13754
- text: ({ props: props4 }) => props4.text,
13755
- ".reversed": {
13756
- props: { flow: "row-reverse" }
13757
- },
13758
- ".vertical": {
13759
- props: { flow: "column" }
13760
- }
13761
- };
13762
-
13763
- // ../../uikit/domql/Modal/node_modules/@symbo.ls/button/index.js
13764
- var Button2 = {
13765
- extend: [FocusableComponent, IconText2],
13766
- tag: "button",
13767
- props: {
13768
- fontSize: "A",
13769
- type: "button",
13770
- border: "none",
13771
- display: "inline-flex",
13772
- align: "center center",
13773
- textDecoration: "none",
13774
- lineHeight: "1",
13775
- whiteSpace: "nowrap",
13776
- padding: "Z A1",
13777
- fontFamily: "inherit",
13778
- round: "C2"
13779
- },
13780
- attr: {
13781
- type: ({ props: props4 }) => props4.type
13782
- }
13783
- };
13784
- var CommonButton2 = {
13785
- extend: Button2,
13786
- props: {
13787
- theme: "primary",
13788
- boxSize: "fit-content",
13789
- padding: "A A2",
13790
- round: "Z2",
13791
- gap: "Y2",
13792
- position: "relative"
13793
- },
13794
- Icon: {
13795
- props: { fontSize: "C" }
13796
- },
13797
- Caption: {
13798
- props: {
13799
- text: "Button",
13800
- line_height: "1em"
13801
- }
13802
- }
13803
- };
13804
- var CancelConfirmButtons2 = {
13805
- extend: Flex,
13806
- childExtend: {
13807
- extend: CommonButton2,
13808
- props: {
13809
- minWidth: "D2",
13810
- ":first-child": {
13811
- background: "transparent",
13812
- border: "1px solid #20202B"
13813
- },
13814
- ":last-child": {}
13815
- }
13816
- },
13817
- ...[
13818
- { Caption: { text: "No" } },
13819
- { Caption: { text: "Yes" } }
13820
- ],
13821
- props: {
13822
- gap: "Z",
13823
- maxWidth: "fit-content"
13824
- }
13825
- };
13826
-
13827
13903
  // ../../uikit/domql/Modal/CompleteProcess.js
13828
13904
  var CompleteProcess = {
13829
13905
  extend: Modal,
@@ -13876,7 +13952,7 @@ var CompleteProcess = {
13876
13952
  }
13877
13953
  },
13878
13954
  Footer: {
13879
- extend: CommonButton2,
13955
+ extend: CommonButton,
13880
13956
  props: {
13881
13957
  minWidth: "100%",
13882
13958
  fontWeight: "500"
@@ -14048,7 +14124,7 @@ var VerificationCode = {
14048
14124
  padding: "Y2 - - -"
14049
14125
  },
14050
14126
  Buttons: {
14051
- extend: CancelConfirmButtons2,
14127
+ extend: CancelConfirmButtons,
14052
14128
  props: { childProps: { ":first-child": { border: "none" } } },
14053
14129
  ...[
14054
14130
  { Caption: { text: "Cancel" } },
@@ -14416,14 +14492,12 @@ var props2 = {
14416
14492
  align: "center center",
14417
14493
  flow: "column",
14418
14494
  gap: "X",
14419
- style: {
14420
- "> button": {
14421
- padding: "0",
14422
- background: "transparent",
14423
- color: "white",
14424
- fontSize: `${12 / 16}em`,
14425
- display: "none"
14426
- }
14495
+ "> button": {
14496
+ padding: "0",
14497
+ background: "transparent",
14498
+ color: "white",
14499
+ fontSize: "Z",
14500
+ display: "none"
14427
14501
  }
14428
14502
  };
14429
14503
  var TimePickerItem = {
@@ -14454,91 +14528,6 @@ var TimePickerItem = {
14454
14528
  Button_minus: { icon: "minus" }
14455
14529
  };
14456
14530
 
14457
- // ../../uikit/domql/TimePicker/node_modules/@symbo.ls/icon/index.js
14458
- var import_utils16 = __toESM(require_cjs());
14459
- var IconText3 = {
14460
- extend: Flex,
14461
- props: {
14462
- align: "center center",
14463
- lineHeight: 1
14464
- },
14465
- Icon: {
14466
- props: ({ parent, props: props4 }) => ({ icon: parent.props.icon || props4.name || props4.icon }),
14467
- if: ({ parent, props: props4 }) => parent.props.icon || parent.props.Icon || props4.name || props4.icon
14468
- },
14469
- text: ({ props: props4 }) => props4.text,
14470
- ".reversed": {
14471
- props: { flow: "row-reverse" }
14472
- },
14473
- ".vertical": {
14474
- props: { flow: "column" }
14475
- }
14476
- };
14477
-
14478
- // ../../uikit/domql/TimePicker/node_modules/@symbo.ls/button/index.js
14479
- var Button3 = {
14480
- extend: [FocusableComponent, IconText3],
14481
- tag: "button",
14482
- props: {
14483
- fontSize: "A",
14484
- type: "button",
14485
- border: "none",
14486
- display: "inline-flex",
14487
- align: "center center",
14488
- textDecoration: "none",
14489
- lineHeight: "1",
14490
- whiteSpace: "nowrap",
14491
- padding: "Z A1",
14492
- fontFamily: "inherit",
14493
- round: "C2"
14494
- },
14495
- attr: {
14496
- type: ({ props: props4 }) => props4.type
14497
- }
14498
- };
14499
- var CommonButton3 = {
14500
- extend: Button3,
14501
- props: {
14502
- theme: "primary",
14503
- boxSize: "fit-content",
14504
- padding: "A A2",
14505
- round: "Z2",
14506
- gap: "Y2",
14507
- position: "relative"
14508
- },
14509
- Icon: {
14510
- props: { fontSize: "C" }
14511
- },
14512
- Caption: {
14513
- props: {
14514
- text: "Button",
14515
- line_height: "1em"
14516
- }
14517
- }
14518
- };
14519
- var CancelConfirmButtons3 = {
14520
- extend: Flex,
14521
- childExtend: {
14522
- extend: CommonButton3,
14523
- props: {
14524
- minWidth: "D2",
14525
- ":first-child": {
14526
- background: "transparent",
14527
- border: "1px solid #20202B"
14528
- },
14529
- ":last-child": {}
14530
- }
14531
- },
14532
- ...[
14533
- { Caption: { text: "No" } },
14534
- { Caption: { text: "Yes" } }
14535
- ],
14536
- props: {
14537
- gap: "Z",
14538
- maxWidth: "fit-content"
14539
- }
14540
- };
14541
-
14542
14531
  // ../../uikit/domql/TimePicker/TimeSwitcher.js
14543
14532
  var props3 = {
14544
14533
  boxSize: "C B2",
@@ -14551,7 +14540,7 @@ var TimeSwitcher = {
14551
14540
  props: props3,
14552
14541
  extend: Flex,
14553
14542
  childExtend: {
14554
- extend: Button3,
14543
+ extend: Button,
14555
14544
  props: ({ state, key }) => ({
14556
14545
  active: state.activeShift === key,
14557
14546
  padding: "0",
@@ -14566,8 +14555,8 @@ var TimeSwitcher = {
14566
14555
  ".active": { theme: "primary" }
14567
14556
  }),
14568
14557
  on: {
14569
- click: (event, { key, state }) => {
14570
- console.log(event, key, state);
14558
+ click: (ev, { key, state }) => {
14559
+ console.log(ev, key, state);
14571
14560
  state.update({ activeShift: key });
14572
14561
  }
14573
14562
  }
@@ -14611,7 +14600,7 @@ var TimePicker = {
14611
14600
  max: "11"
14612
14601
  }
14613
14602
  },
14614
- Span: ":",
14603
+ Span: { text: ":" },
14615
14604
  TimePickerItem_mm: {
14616
14605
  NumberInput: {
14617
14606
  placeholder: "MM",
@@ -14619,7 +14608,7 @@ var TimePicker = {
14619
14608
  max: "59"
14620
14609
  }
14621
14610
  },
14622
- Span_2: ":",
14611
+ Span_2: { text: ":" },
14623
14612
  TimePickerItem_ss: {
14624
14613
  NumberInput: {
14625
14614
  placeholder: "SS",
@@ -15934,7 +15923,7 @@ var defaultDefine = {
15934
15923
 
15935
15924
  // src/router.js
15936
15925
  var import_router2 = __toESM(require_cjs10(), 1);
15937
- var import_utils17 = __toESM(require_cjs(), 1);
15926
+ var import_utils16 = __toESM(require_cjs(), 1);
15938
15927
  var DEFAULT_ROUTING_OPTIONS = {
15939
15928
  initRouter: true,
15940
15929
  injectRouterInLinkComponent: true,
@@ -15946,17 +15935,17 @@ var initRouter = (element, options) => {
15946
15935
  else if (options.router === true)
15947
15936
  options.router = DEFAULT_ROUTING_OPTIONS;
15948
15937
  else
15949
- (0, import_utils17.merge)(options.router || {}, DEFAULT_ROUTING_OPTIONS);
15938
+ (0, import_utils16.merge)(options.router || {}, DEFAULT_ROUTING_OPTIONS);
15950
15939
  const routerOptions = options.router;
15951
15940
  const router2 = options.snippets && options.snippets.router ? options.snippets.router : import_router2.router;
15952
15941
  const onRouterRenderDefault = (el, s) => {
15953
- const { pathname, hash: hash2 } = import_utils17.window.location;
15942
+ const { pathname, hash: hash2 } = import_utils16.window.location;
15954
15943
  const url2 = pathname + hash2;
15955
15944
  if (el.routes)
15956
15945
  router2(url2, el, {}, { initialRender: true });
15957
15946
  };
15958
- const hasRenderRouter = element.on && !(0, import_utils17.isUndefined)(element.on.renderRouter);
15959
- if (routerOptions.initRouter && !hasRenderRouter) {
15947
+ const hasRenderRouter = element.on && !(0, import_utils16.isUndefined)(element.on.renderRouter);
15948
+ if (routerOptions && routerOptions.initRouter && !hasRenderRouter) {
15960
15949
  if (element.on) {
15961
15950
  element.on.renderRouter = onRouterRenderDefault;
15962
15951
  } else {
@@ -15977,20 +15966,20 @@ var popStateRouter = (element, options) => {
15977
15966
  if (!routerOptions.popState)
15978
15967
  return;
15979
15968
  const router2 = options.snippets && options.snippets.router ? options.snippets.router : import_router2.router;
15980
- import_utils17.window.onpopstate = (e) => {
15981
- const { pathname, hash: hash2 } = import_utils17.window.location;
15969
+ import_utils16.window.onpopstate = (e) => {
15970
+ const { pathname, hash: hash2 } = import_utils16.window.location;
15982
15971
  const url2 = pathname + hash2;
15983
15972
  router2(url2, element, {}, { pushState: false, level: 0 });
15984
15973
  };
15985
15974
  };
15986
15975
  var injectRouterInLinkComponent = (routerOptions) => {
15987
15976
  if (routerOptions.injectRouterInLinkComponent) {
15988
- return (0, import_utils17.deepMerge)(Link, RouterLink);
15977
+ return (0, import_utils16.deepMerge)(Link, RouterLink);
15989
15978
  }
15990
15979
  };
15991
15980
 
15992
15981
  // src/ferchOnCreate.js
15993
- var import_utils18 = __toESM(require_cjs(), 1);
15982
+ var import_utils17 = __toESM(require_cjs(), 1);
15994
15983
  var import_fetch = __toESM(require_cjs12(), 1);
15995
15984
  var fetchSync = async (key, options) => {
15996
15985
  if (key && options.editor) {
@@ -16006,10 +15995,10 @@ var fetchAsync = (app, key, options, callback) => {
16006
15995
  if (key && options.editor) {
16007
15996
  try {
16008
15997
  const defaultCallback = (data) => {
16009
- if ((0, import_utils18.isObject)(data.designsystem)) {
15998
+ if ((0, import_utils17.isObject)(data.designsystem)) {
16010
15999
  options.utils.init(data.designsystem);
16011
16000
  }
16012
- if ((0, import_utils18.isObject)(data.state)) {
16001
+ if ((0, import_utils17.isObject)(data.state)) {
16013
16002
  app.state.set(data.state);
16014
16003
  }
16015
16004
  };
@@ -16022,10 +16011,10 @@ var fetchAsync = (app, key, options, callback) => {
16022
16011
  };
16023
16012
 
16024
16013
  // ../../node_modules/@domql/emotion/index.js
16025
- var import_utils20 = __toESM(require_cjs());
16014
+ var import_utils19 = __toESM(require_cjs());
16026
16015
 
16027
16016
  // ../../node_modules/@domql/classlist/index.js
16028
- var import_utils19 = __toESM(require_cjs());
16017
+ var import_utils18 = __toESM(require_cjs());
16029
16018
  var classify = (obj, element) => {
16030
16019
  let className = "";
16031
16020
  for (const item in obj) {
@@ -16035,7 +16024,7 @@ var classify = (obj, element) => {
16035
16024
  else if (typeof param === "string")
16036
16025
  className += ` ${param}`;
16037
16026
  else if (typeof param === "function") {
16038
- className += ` ${(0, import_utils19.exec)(param, element)}`;
16027
+ className += ` ${(0, import_utils18.exec)(param, element)}`;
16039
16028
  }
16040
16029
  }
16041
16030
  return className;
@@ -16046,9 +16035,9 @@ var classList = (params, element) => {
16046
16035
  const { key } = element;
16047
16036
  if (params === true)
16048
16037
  params = element.class = { key };
16049
- if ((0, import_utils19.isString)(params))
16038
+ if ((0, import_utils18.isString)(params))
16050
16039
  params = element.class = { default: params };
16051
- if ((0, import_utils19.isObject)(params))
16040
+ if ((0, import_utils18.isObject)(params))
16052
16041
  params = classify(params, element);
16053
16042
  const className = params.replace(/\s+/g, " ").trim();
16054
16043
  if (element.ref)
@@ -16062,38 +16051,38 @@ var applyClassListOnNode = (params, element, node2) => {
16062
16051
  };
16063
16052
 
16064
16053
  // ../../node_modules/@domql/emotion/index.js
16065
- var transformEmotionStyle = (emotion4) => {
16054
+ var transformEmotionStyle = (emotion2) => {
16066
16055
  return (params, element, state) => {
16067
- const execParams = (0, import_utils20.exec)(params, element);
16056
+ const execParams = (0, import_utils19.exec)(params, element);
16068
16057
  if (params) {
16069
- if ((0, import_utils20.isObjectLike)(element.class))
16058
+ if ((0, import_utils19.isObjectLike)(element.class))
16070
16059
  element.class.elementStyle = execParams;
16071
16060
  else
16072
16061
  element.class = { elementStyle: execParams };
16073
16062
  }
16074
- transformEmotionClass(emotion4)(element.class, element, element.state, true);
16063
+ transformEmotionClass(emotion2)(element.class, element, element.state, true);
16075
16064
  };
16076
16065
  };
16077
- var transformEmotionClass = (emotion4) => {
16066
+ var transformEmotionClass = (emotion2) => {
16078
16067
  return (params, element, state, flag) => {
16079
16068
  if (element.style && !flag)
16080
16069
  return;
16081
16070
  const { __ref } = element;
16082
16071
  const { __class, __classNames } = __ref;
16083
- if (!(0, import_utils20.isObjectLike)(params))
16072
+ if (!(0, import_utils19.isObjectLike)(params))
16084
16073
  return;
16085
16074
  for (const key in params) {
16086
- const prop = (0, import_utils20.exec)(params[key], element);
16075
+ const prop = (0, import_utils19.exec)(params[key], element);
16087
16076
  if (!prop) {
16088
16077
  delete __class[key];
16089
16078
  delete __classNames[key];
16090
16079
  continue;
16091
16080
  }
16092
- const isEqual = (0, import_utils20.isEqualDeep)(__class[key], prop);
16081
+ const isEqual = (0, import_utils19.isEqualDeep)(__class[key], prop);
16093
16082
  if (!isEqual) {
16094
- if (!(0, import_utils20.isProduction)() && (0, import_utils20.isObject)(prop))
16083
+ if (!(0, import_utils19.isProduction)() && (0, import_utils19.isObject)(prop))
16095
16084
  prop.label = key || element.key;
16096
- const CSSed = emotion4.css(prop);
16085
+ const CSSed = emotion2.css(prop);
16097
16086
  __class[key] = prop;
16098
16087
  __classNames[key] = CSSed;
16099
16088
  }
@@ -16101,24 +16090,17 @@ var transformEmotionClass = (emotion4) => {
16101
16090
  applyClassListOnNode(__classNames, element, element.node);
16102
16091
  };
16103
16092
  };
16104
- var transformDOMQLEmotion = (emotion4, options) => {
16105
- if (!emotion4)
16106
- emotion4 = createEmotion(options || { key: "smbls" });
16093
+ var transformDOMQLEmotion = (emotion2, options) => {
16094
+ if (!emotion2)
16095
+ emotion2 = createEmotion(options || { key: "smbls" });
16107
16096
  return {
16108
- style: transformEmotionStyle(emotion4),
16109
- class: transformEmotionClass(emotion4)
16097
+ style: transformEmotionStyle(emotion2),
16098
+ class: transformEmotionClass(emotion2)
16110
16099
  };
16111
16100
  };
16112
16101
 
16113
- // node_modules/@symbo.ls/emotion/index.js
16114
- var createEmotion4 = (key = "smbls", container) => {
16115
- const cleanKey = key.replaceAll(/\./g, "-");
16116
- return createEmotion({ key: cleanKey, container });
16117
- };
16118
- var emotion2 = createEmotion4();
16119
-
16120
16102
  // src/initEmotion.js
16121
- var import_utils21 = __toESM(require_cjs(), 1);
16103
+ var import_utils20 = __toESM(require_cjs(), 1);
16122
16104
 
16123
16105
  // src/options.js
16124
16106
  var DESIGN_SYSTEM_OPTIONS = {
@@ -16143,7 +16125,7 @@ var CREATE_OPTIONS = {
16143
16125
  };
16144
16126
  var options_default = CREATE_OPTIONS;
16145
16127
 
16146
- // node_modules/@symbo.ls/default-icons/index.js
16128
+ // ../../uikit/icons/default-icons/index.js
16147
16129
  var default_icons_default = {
16148
16130
  symbols: require_logo(),
16149
16131
  arrowDownCircle: require_arrow_down_circle(),
@@ -16187,7 +16169,7 @@ var default_icons_default = {
16187
16169
  plus: require_plus()
16188
16170
  };
16189
16171
 
16190
- // node_modules/@symbo.ls/default-config/src/color.js
16172
+ // ../default-config/src/color.js
16191
16173
  var COLOR = {
16192
16174
  transparent: "rgba(0, 0, 0, 0)",
16193
16175
  black: "black",
@@ -16240,7 +16222,7 @@ var GRADIENT = {
16240
16222
  )`
16241
16223
  };
16242
16224
 
16243
- // node_modules/@symbo.ls/default-config/src/theme.js
16225
+ // ../default-config/src/theme.js
16244
16226
  var PRIORITIES = {
16245
16227
  primary: {
16246
16228
  "@dark": {
@@ -16359,6 +16341,7 @@ var UI = {
16359
16341
  field: "--tertiary",
16360
16342
  dialog: {
16361
16343
  "@dark": {
16344
+ color: "white",
16362
16345
  background: "gray .92",
16363
16346
  ".helper": {
16364
16347
  color: "white",
@@ -16366,6 +16349,7 @@ var UI = {
16366
16349
  }
16367
16350
  },
16368
16351
  "@light": {
16352
+ color: "currentColor",
16369
16353
  background: "gray .1"
16370
16354
  }
16371
16355
  }
@@ -16393,7 +16377,7 @@ var THEME = {
16393
16377
  }
16394
16378
  };
16395
16379
 
16396
- // node_modules/@symbo.ls/default-config/src/typography.js
16380
+ // ../default-config/src/typography.js
16397
16381
  var TYPOGRAPHY = {
16398
16382
  base: 16,
16399
16383
  ratio: 1.125,
@@ -16401,14 +16385,14 @@ var TYPOGRAPHY = {
16401
16385
  templates: {}
16402
16386
  };
16403
16387
 
16404
- // node_modules/@symbo.ls/default-config/src/spacing.js
16388
+ // ../default-config/src/spacing.js
16405
16389
  var SPACING = {
16406
16390
  base: 16,
16407
16391
  ratio: 1.618,
16408
16392
  subSequence: true
16409
16393
  };
16410
16394
 
16411
- // node_modules/@symbo.ls/default-config/src/font.js
16395
+ // ../default-config/src/font.js
16412
16396
  var FONT = {};
16413
16397
  var FONT_FAMILY = {
16414
16398
  system: {
@@ -16418,7 +16402,7 @@ var FONT_FAMILY = {
16418
16402
  }
16419
16403
  };
16420
16404
 
16421
- // node_modules/@symbo.ls/default-config/src/index.js
16405
+ // ../default-config/src/index.js
16422
16406
  var DEFAULT_CONFIG = {
16423
16407
  version: "0.0.1",
16424
16408
  COLOR,
@@ -16457,25 +16441,25 @@ var src_default = DEFAULT_CONFIG;
16457
16441
  var initEmotion = (key, options = DESIGN_SYSTEM_OPTIONS) => {
16458
16442
  const doc = options.parent || options.document || document;
16459
16443
  const initOptions = options.initOptions || {};
16460
- const emotion4 = initOptions.emotion;
16444
+ const emotion2 = initOptions.emotion;
16461
16445
  if (!initOptions.emotion)
16462
- initOptions.emotion = emotion2;
16446
+ initOptions.emotion = emotion;
16463
16447
  const registry = options.registry || transformDOMQLEmotion(initOptions.emotion, options);
16464
- const designSystem = options.designSystem || (options.defaultConfig ? (0, import_utils21.deepClone)(src_default) : {});
16448
+ const designSystem = options.designSystem || (options.defaultConfig ? (0, import_utils20.deepClone)(src_default) : {});
16465
16449
  const scratchSystem2 = init(designSystem, {
16466
16450
  key,
16467
- emotion: emotion4,
16451
+ emotion: emotion2,
16468
16452
  verbose: options.verbose,
16469
16453
  document: doc,
16470
16454
  ...DESIGN_SYSTEM_OPTIONS,
16471
16455
  ...initOptions
16472
16456
  });
16473
- return [scratchSystem2, emotion4, registry];
16457
+ return [scratchSystem2, emotion2, registry];
16474
16458
  };
16475
16459
 
16476
16460
  // ../socket-ui/byld-socket.js
16477
16461
  var import_router3 = __toESM(require_cjs10());
16478
- var import_scratch23 = __toESM(require_cjs9());
16462
+ var import_scratch14 = __toESM(require_cjs9());
16479
16463
 
16480
16464
  // ../socket/client.js
16481
16465
  var utils = __toESM(require_cjs(), 1);
@@ -19874,124 +19858,11 @@ function send(event = "change", changes, options) {
19874
19858
  this.emit(event, changes, { ...options, ...defautlOpts });
19875
19859
  }
19876
19860
 
19877
- // ../socket-ui/node_modules/@symbo.ls/atoms/Block.js
19878
- var import_scratch14 = __toESM(require_cjs9());
19879
-
19880
- // ../socket-ui/node_modules/@symbo.ls/atoms/Flex.js
19881
- var Flex2 = {
19882
- props: {
19883
- display: "flex"
19884
- },
19885
- class: {
19886
- flow: ({ props: props4 }) => props4.flow && { flexFlow: props4.flow },
19887
- wrap: ({ props: props4 }) => props4.wrap && { flexWrap: props4.wrap },
19888
- align: ({ props: props4 }) => {
19889
- if (typeof props4.align !== "string")
19890
- return;
19891
- const [alignItems, justifyContent] = props4.align.split(" ");
19892
- return { alignItems, justifyContent };
19893
- }
19894
- }
19895
- };
19896
-
19897
- // ../socket-ui/node_modules/@symbo.ls/atoms/Grid.js
19898
- var import_scratch15 = __toESM(require_cjs9());
19899
-
19900
- // ../socket-ui/node_modules/@symbo.ls/atoms/Media.js
19901
- var import_utils23 = __toESM(require_cjs());
19902
-
19903
- // ../socket-ui/node_modules/@symbo.ls/atoms/Theme.js
19904
- var import_scratch18 = __toESM(require_cjs9());
19905
-
19906
- // ../socket-ui/node_modules/@symbo.ls/atoms/Shape/style.js
19907
- var import_scratch17 = __toESM(require_cjs9());
19908
-
19909
- // ../socket-ui/node_modules/@symbo.ls/atoms/Timing.js
19910
- var import_scratch16 = __toESM(require_cjs9());
19911
-
19912
- // ../socket-ui/node_modules/@symbo.ls/atoms/Shape/style.js
19913
- var CONFIG3 = (0, import_scratch17.getActiveConfig)();
19914
- var depth2 = {
19915
- 4: { boxShadow: `rgba(0,0,0,.10) 0 2${CONFIG3.UNIT.default} 4${CONFIG3.UNIT.default}` },
19916
- 6: { boxShadow: `rgba(0,0,0,.10) 0 3${CONFIG3.UNIT.default} 6${CONFIG3.UNIT.default}` },
19917
- 10: { boxShadow: `rgba(0,0,0,.10) 0 4${CONFIG3.UNIT.default} 10${CONFIG3.UNIT.default}` },
19918
- 16: { boxShadow: `rgba(0,0,0,.10) 0 8${CONFIG3.UNIT.default} 16${CONFIG3.UNIT.default}` },
19919
- 26: { boxShadow: `rgba(0,0,0,.10) 0 14${CONFIG3.UNIT.default} 26${CONFIG3.UNIT.default}` },
19920
- 42: { boxShadow: `rgba(0,0,0,.10) 0 20${CONFIG3.UNIT.default} 42${CONFIG3.UNIT.default}` }
19921
- };
19922
-
19923
- // ../socket-ui/node_modules/@symbo.ls/atoms/Theme.js
19924
- var import_utils22 = __toESM(require_cjs());
19925
-
19926
- // ../socket-ui/node_modules/@symbo.ls/atoms/Collection.js
19927
- var import_state2 = __toESM(require_cjs5());
19928
- var import_utils24 = __toESM(require_cjs());
19929
-
19930
- // ../socket-ui/node_modules/@symbo.ls/atoms/Position.js
19931
- var import_scratch19 = __toESM(require_cjs9());
19932
-
19933
- // ../socket-ui/node_modules/@symbo.ls/atoms/Shape/index.js
19934
- var import_utils25 = __toESM(require_cjs());
19935
- var import_scratch20 = __toESM(require_cjs9());
19936
-
19937
- // ../socket-ui/node_modules/@symbo.ls/atoms/Text.js
19938
- var import_scratch21 = __toESM(require_cjs9());
19939
-
19940
- // ../socket-ui/node_modules/@symbo.ls/atoms/Animation.js
19941
- var import_scratch22 = __toESM(require_cjs9());
19942
- var import_utils26 = __toESM(require_cjs());
19943
-
19944
- // ../socket-ui/node_modules/@symbo.ls/emotion/index.js
19945
- var createEmotion5 = (key = "smbls", container) => {
19946
- const cleanKey = key.replaceAll(/\./g, "-");
19947
- return createEmotion({ key: cleanKey, container });
19948
- };
19949
- var emotion3 = createEmotion5();
19950
-
19951
- // ../socket-ui/node_modules/@symbo.ls/notification/index.js
19952
- var Notification2 = {
19953
- extend: Flex2,
19954
- props: {
19955
- theme: "alert",
19956
- padding: "Z1 B Z A",
19957
- round: "A A A Y2",
19958
- gap: "X2",
19959
- cursor: "pointer",
19960
- align: "flex-start center"
19961
- },
19962
- IconText: {
19963
- props: {
19964
- icon: "info outline"
19965
- }
19966
- },
19967
- Flex: {
19968
- props: {
19969
- flow: "column",
19970
- align: "flex-start",
19971
- gap: "X2"
19972
- },
19973
- Title: {
19974
- props: {
19975
- fontWeight: "600",
19976
- lineHeight: "1em",
19977
- text: "Notification"
19978
- }
19979
- },
19980
- P: {
19981
- props: {
19982
- fontSize: "Z",
19983
- margin: "0",
19984
- text: "is not always a distraction"
19985
- }
19986
- }
19987
- }
19988
- };
19989
-
19990
19861
  // ../socket-ui/byld-socket.js
19991
19862
  var import_globals = __toESM(require_cjs11());
19992
19863
 
19993
19864
  // ../socket-ui/devFocus.js
19994
- var import_utils27 = __toESM(require_cjs());
19865
+ var import_utils21 = __toESM(require_cjs());
19995
19866
  var DevFocus = {
19996
19867
  props: {
19997
19868
  ".preventSelect": {
@@ -20045,7 +19916,7 @@ var DevFocus = {
20045
19916
  on: {
20046
19917
  init: ({ context }) => {
20047
19918
  const { components } = context;
20048
- if ((0, import_utils27.isObject)(components)) {
19919
+ if ((0, import_utils21.isObject)(components)) {
20049
19920
  const { Content, ...rest } = components;
20050
19921
  for (const key in rest) {
20051
19922
  if (domql_exports[key])
@@ -20154,7 +20025,7 @@ var COLOR2 = {
20154
20025
  black: "#000000",
20155
20026
  blue: "#3686F7"
20156
20027
  };
20157
- (0, import_scratch23.set)({
20028
+ (0, import_scratch14.set)({
20158
20029
  COLOR: COLOR2,
20159
20030
  ANIMATION
20160
20031
  });
@@ -20232,7 +20103,7 @@ var Notifications = {
20232
20103
  zIndex: "999"
20233
20104
  },
20234
20105
  childExtend: {
20235
- extend: [Notification2],
20106
+ extend: [Notification],
20236
20107
  props: ({ state }) => ({
20237
20108
  animation: "fadeInUp",
20238
20109
  animationDuration: "C",
@@ -20267,15 +20138,15 @@ var Sync = {
20267
20138
  };
20268
20139
 
20269
20140
  // src/syncExtend.js
20270
- var import_utils28 = __toESM(require_cjs(), 1);
20141
+ var import_utils22 = __toESM(require_cjs(), 1);
20271
20142
  var applySyncDebug = (extend, options) => {
20272
20143
  const { editor } = options;
20273
20144
  if (!editor)
20274
20145
  return extend;
20275
- const inspect = (0, import_utils28.isUndefined)(editor.inspect) ? (0, import_utils28.isDevelopment)() : editor.inspect;
20146
+ const inspect = (0, import_utils22.isUndefined)(editor.inspect) ? (0, import_utils22.isDevelopment)() : editor.inspect;
20276
20147
  if (inspect)
20277
20148
  extend.push(DevFocus);
20278
- const liveSync = (0, import_utils28.isUndefined)(editor.liveSync) ? (0, import_utils28.isDevelopment)() : editor.liveSync;
20149
+ const liveSync = (0, import_utils22.isUndefined)(editor.liveSync) ? (0, import_utils22.isDevelopment)() : editor.liveSync;
20279
20150
  if (liveSync)
20280
20151
  extend.push(Sync);
20281
20152
  return extend;
@@ -20284,7 +20155,7 @@ var applyInspectListener = (root, options) => {
20284
20155
  const { editor } = options;
20285
20156
  if (!editor)
20286
20157
  return;
20287
- const inspect = (0, import_utils28.isUndefined)(editor.inspect) ? (0, import_utils28.isDevelopment)() : editor.inspect;
20158
+ const inspect = (0, import_utils22.isUndefined)(editor.inspect) ? (0, import_utils22.isDevelopment)() : editor.inspect;
20288
20159
  if (inspect)
20289
20160
  inspectOnKey(root);
20290
20161
  };
@@ -20292,11 +20163,11 @@ var applyInspectListener = (root, options) => {
20292
20163
  // src/index.js
20293
20164
  var SYMBOLS_KEY = process.env.SYMBOLS_KEY;
20294
20165
  var mergeWithLocalFile2 = (options, optionsExternalFile) => {
20295
- const rcfile = (0, import_utils29.isObject)(optionsExternalFile) ? optionsExternalFile : dynamic_default || {};
20296
- return (0, import_utils29.deepMerge)(options, rcfile);
20166
+ const rcfile = (0, import_utils23.isObject)(optionsExternalFile) ? optionsExternalFile : dynamic_default || {};
20167
+ return (0, import_utils23.deepMerge)(options, rcfile);
20297
20168
  };
20298
20169
  var create = async (App, options = options_default, optionsExternalFile) => {
20299
- const appIsKey = (0, import_utils29.isString)(App);
20170
+ const appIsKey = (0, import_utils23.isString)(App);
20300
20171
  options = { ...options_default, ...mergeWithLocalFile2(options, optionsExternalFile) };
20301
20172
  const key = options.key || SYMBOLS_KEY || (appIsKey ? App : "");
20302
20173
  if (appIsKey)
@@ -20310,12 +20181,12 @@ var create = async (App, options = options_default, optionsExternalFile) => {
20310
20181
  document = window.document;
20311
20182
  }
20312
20183
  const doc = options.parent || options.document || document;
20313
- const [scratcDesignhSystem, emotion4, registry] = initEmotion(key, options);
20184
+ const [scratcDesignhSystem, emotion2, registry] = initEmotion(key, options);
20314
20185
  const state = {};
20315
20186
  if (options.state)
20316
- (0, import_utils29.deepMerge)(state, options.state);
20187
+ (0, import_utils23.deepMerge)(state, options.state);
20317
20188
  if (App && App.state)
20318
- (0, import_utils29.deepMerge)(state, App.state);
20189
+ (0, import_utils23.deepMerge)(state, App.state);
20319
20190
  const pages = options.pages || {};
20320
20191
  const components = options.components ? { ...domql_exports, ...options.components } : domql_exports;
20321
20192
  const designSystem = scratcDesignhSystem || {};
@@ -20323,7 +20194,7 @@ var create = async (App, options = options_default, optionsExternalFile) => {
20323
20194
  const define = options.define || defaultDefine;
20324
20195
  const routerOptions = initRouter(App, options);
20325
20196
  const extend = applySyncDebug([App], options);
20326
- const domqlApp = import_domql.default.create({
20197
+ const domqlApp = (import_domql.default.default.create || import_domql.default.create)({
20327
20198
  extend,
20328
20199
  routes: options.pages,
20329
20200
  state,
@@ -20337,7 +20208,7 @@ var create = async (App, options = options_default, optionsExternalFile) => {
20337
20208
  utils: snippets,
20338
20209
  define,
20339
20210
  registry,
20340
- emotion: emotion4,
20211
+ emotion: emotion2,
20341
20212
  routerOptions,
20342
20213
  document: doc
20343
20214
  }
@@ -20357,7 +20228,7 @@ var create = async (App, options = options_default, optionsExternalFile) => {
20357
20228
  return domqlApp;
20358
20229
  };
20359
20230
  var createSync = (App, options = options_default, optionsExternalFile) => {
20360
- const appIsKey = (0, import_utils29.isString)(App);
20231
+ const appIsKey = (0, import_utils23.isString)(App);
20361
20232
  options = mergeWithLocalFile2(options, optionsExternalFile);
20362
20233
  const key = options.key || SYMBOLS_KEY || (appIsKey ? App : "");
20363
20234
  if (appIsKey)
@@ -20376,7 +20247,7 @@ var createSync = (App, options = options_default, optionsExternalFile) => {
20376
20247
  parent = options.document;
20377
20248
  else
20378
20249
  parent = document.body;
20379
- const [scratcDesignhSystem, emotion4, registry] = initEmotion(key, options);
20250
+ const [scratcDesignhSystem, emotion2, registry] = initEmotion(key, options);
20380
20251
  let state;
20381
20252
  if (options.state)
20382
20253
  state = options.state;
@@ -20404,7 +20275,7 @@ var createSync = (App, options = options_default, optionsExternalFile) => {
20404
20275
  utils: snippets,
20405
20276
  define,
20406
20277
  registry,
20407
- emotion: emotion4,
20278
+ emotion: emotion2,
20408
20279
  // routerOptions,
20409
20280
  document
20410
20281
  }