@symbo.ls/create 2.11.483 → 2.11.484

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.
@@ -217,7 +217,7 @@ var require_types = __commonJS({
217
217
  isBoolean: () => isBoolean2,
218
218
  isDate: () => isDate,
219
219
  isDefined: () => isDefined2,
220
- isFunction: () => isFunction3,
220
+ isFunction: () => isFunction2,
221
221
  isNot: () => isNot2,
222
222
  isNull: () => isNull,
223
223
  isNumber: () => isNumber3,
@@ -235,7 +235,7 @@ var require_types = __commonJS({
235
235
  };
236
236
  var isString11 = (arg) => typeof arg === "string";
237
237
  var isNumber3 = (arg) => typeof arg === "number";
238
- var isFunction3 = (arg) => typeof arg === "function";
238
+ var isFunction2 = (arg) => typeof arg === "function";
239
239
  var isBoolean2 = (arg) => arg === true || arg === false;
240
240
  var isNull = (arg) => arg === null;
241
241
  var isArray4 = (arg) => Array.isArray(arg);
@@ -246,7 +246,7 @@ var require_types = __commonJS({
246
246
  return typeof arg === "object";
247
247
  };
248
248
  var isDefined2 = (arg) => {
249
- return isObject11(arg) || isObjectLike4(arg) || isString11(arg) || isNumber3(arg) || isFunction3(arg) || isArray4(arg) || isObjectLike4(arg) || isBoolean2(arg) || isDate(arg) || isNull(arg);
249
+ return isObject11(arg) || isObjectLike4(arg) || isString11(arg) || isNumber3(arg) || isFunction2(arg) || isArray4(arg) || isObjectLike4(arg) || isBoolean2(arg) || isDate(arg) || isNull(arg);
250
250
  };
251
251
  var isUndefined11 = (arg) => {
252
252
  return arg === void 0;
@@ -259,7 +259,7 @@ var require_types = __commonJS({
259
259
  date: isDate,
260
260
  number: isNumber3,
261
261
  null: isNull,
262
- function: isFunction3,
262
+ function: isFunction2,
263
263
  objectLike: isObjectLike4,
264
264
  node: import_node.isNode,
265
265
  htmlElement: import_node.isHtmlElement,
@@ -1405,21 +1405,21 @@ var require_cookie = __commonJS({
1405
1405
  });
1406
1406
  module2.exports = __toCommonJS2(cookie_exports);
1407
1407
  var import_types = require_types();
1408
- var import_utils28 = require_cjs();
1408
+ var import_utils27 = require_cjs();
1409
1409
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
1410
1410
  var setCookie = (cname, cvalue, exdays = 365) => {
1411
- if ((0, import_types.isUndefined)(import_utils28.document) || (0, import_types.isUndefined)(import_utils28.document.cookie))
1411
+ if ((0, import_types.isUndefined)(import_utils27.document) || (0, import_types.isUndefined)(import_utils27.document.cookie))
1412
1412
  return;
1413
1413
  const d = /* @__PURE__ */ new Date();
1414
1414
  d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1e3);
1415
1415
  const expires = `expires=${d.toUTCString()}`;
1416
- import_utils28.document.cookie = `${cname}=${cvalue};${expires};path=/`;
1416
+ import_utils27.document.cookie = `${cname}=${cvalue};${expires};path=/`;
1417
1417
  };
1418
1418
  var getCookie = (cname) => {
1419
- if ((0, import_types.isUndefined)(import_utils28.document) || (0, import_types.isUndefined)(import_utils28.document.cookie))
1419
+ if ((0, import_types.isUndefined)(import_utils27.document) || (0, import_types.isUndefined)(import_utils27.document.cookie))
1420
1420
  return;
1421
1421
  const name = `${cname}=`;
1422
- const decodedCookie = decodeURIComponent(import_utils28.document.cookie);
1422
+ const decodedCookie = decodeURIComponent(import_utils27.document.cookie);
1423
1423
  const ca = decodedCookie.split(";");
1424
1424
  for (let i = 0; i < ca.length; i++) {
1425
1425
  let c = ca[i];
@@ -1431,9 +1431,9 @@ var require_cookie = __commonJS({
1431
1431
  return "";
1432
1432
  };
1433
1433
  var removeCookie = (cname) => {
1434
- if ((0, import_types.isUndefined)(import_utils28.document) || (0, import_types.isUndefined)(import_utils28.document.cookie))
1434
+ if ((0, import_types.isUndefined)(import_utils27.document) || (0, import_types.isUndefined)(import_utils27.document.cookie))
1435
1435
  return;
1436
- import_utils28.document.cookie = cname + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
1436
+ import_utils27.document.cookie = cname + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
1437
1437
  };
1438
1438
  function getLocalStorage(key) {
1439
1439
  let savedJSON;
@@ -2153,7 +2153,7 @@ var require_cjs2 = __commonJS({
2153
2153
  isBoolean: () => isBoolean2,
2154
2154
  isDate: () => isDate,
2155
2155
  isDefined: () => isDefined2,
2156
- isFunction: () => isFunction22,
2156
+ isFunction: () => isFunction2,
2157
2157
  isNot: () => isNot2,
2158
2158
  isNull: () => isNull2,
2159
2159
  isNumber: () => isNumber22,
@@ -2171,7 +2171,7 @@ var require_cjs2 = __commonJS({
2171
2171
  };
2172
2172
  var isString92 = (arg) => typeof arg === "string";
2173
2173
  var isNumber22 = (arg) => typeof arg === "number";
2174
- var isFunction22 = (arg) => typeof arg === "function";
2174
+ var isFunction2 = (arg) => typeof arg === "function";
2175
2175
  var isBoolean2 = (arg) => arg === true || arg === false;
2176
2176
  var isNull2 = (arg) => arg === null;
2177
2177
  var isArray7 = (arg) => Array.isArray(arg);
@@ -2182,7 +2182,7 @@ var require_cjs2 = __commonJS({
2182
2182
  return typeof arg === "object";
2183
2183
  };
2184
2184
  var isDefined2 = (arg) => {
2185
- return isObject72(arg) || isObjectLike32(arg) || isString92(arg) || isNumber22(arg) || isFunction22(arg) || isArray7(arg) || isObjectLike32(arg) || isBoolean2(arg) || isDate(arg) || isNull2(arg);
2185
+ return isObject72(arg) || isObjectLike32(arg) || isString92(arg) || isNumber22(arg) || isFunction2(arg) || isArray7(arg) || isObjectLike32(arg) || isBoolean2(arg) || isDate(arg) || isNull2(arg);
2186
2186
  };
2187
2187
  var isUndefined22 = (arg) => {
2188
2188
  return arg === void 0;
@@ -2195,7 +2195,7 @@ var require_cjs2 = __commonJS({
2195
2195
  date: isDate,
2196
2196
  number: isNumber22,
2197
2197
  null: isNull2,
2198
- function: isFunction22,
2198
+ function: isFunction2,
2199
2199
  objectLike: isObjectLike32,
2200
2200
  node: import_node.isNode,
2201
2201
  htmlElement: import_node.isHtmlElement,
@@ -3329,21 +3329,21 @@ var require_cjs2 = __commonJS({
3329
3329
  });
3330
3330
  module22.exports = __toCommonJS3(cookie_exports);
3331
3331
  var import_types = require_types3();
3332
- var import_utils292 = require_cjs22();
3332
+ var import_utils29 = require_cjs22();
3333
3333
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
3334
3334
  var setCookie = (cname, cvalue, exdays = 365) => {
3335
- if ((0, import_types.isUndefined)(import_utils292.document) || (0, import_types.isUndefined)(import_utils292.document.cookie))
3335
+ if ((0, import_types.isUndefined)(import_utils29.document) || (0, import_types.isUndefined)(import_utils29.document.cookie))
3336
3336
  return;
3337
3337
  const d = /* @__PURE__ */ new Date();
3338
3338
  d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1e3);
3339
3339
  const expires = `expires=${d.toUTCString()}`;
3340
- import_utils292.document.cookie = `${cname}=${cvalue};${expires};path=/`;
3340
+ import_utils29.document.cookie = `${cname}=${cvalue};${expires};path=/`;
3341
3341
  };
3342
3342
  var getCookie = (cname) => {
3343
- if ((0, import_types.isUndefined)(import_utils292.document) || (0, import_types.isUndefined)(import_utils292.document.cookie))
3343
+ if ((0, import_types.isUndefined)(import_utils29.document) || (0, import_types.isUndefined)(import_utils29.document.cookie))
3344
3344
  return;
3345
3345
  const name = `${cname}=`;
3346
- const decodedCookie = decodeURIComponent(import_utils292.document.cookie);
3346
+ const decodedCookie = decodeURIComponent(import_utils29.document.cookie);
3347
3347
  const ca = decodedCookie.split(";");
3348
3348
  for (let i = 0; i < ca.length; i++) {
3349
3349
  let c = ca[i];
@@ -3355,9 +3355,9 @@ var require_cjs2 = __commonJS({
3355
3355
  return "";
3356
3356
  };
3357
3357
  var removeCookie = (cname) => {
3358
- if ((0, import_types.isUndefined)(import_utils292.document) || (0, import_types.isUndefined)(import_utils292.document.cookie))
3358
+ if ((0, import_types.isUndefined)(import_utils29.document) || (0, import_types.isUndefined)(import_utils29.document.cookie))
3359
3359
  return;
3360
- import_utils292.document.cookie = cname + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
3360
+ import_utils29.document.cookie = cname + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
3361
3361
  };
3362
3362
  function getLocalStorage(key) {
3363
3363
  let savedJSON;
@@ -4004,7 +4004,7 @@ var require_cjs2 = __commonJS({
4004
4004
  return unit === "em" || unit === "rem" || unit === "vw" || unit === "vh" || unit === "vmax" || unit === "vmin";
4005
4005
  };
4006
4006
  var import_globals = __toESM2(require_cjs17(), 1);
4007
- var import_utils28 = __toESM2(require_cjs22(), 1);
4007
+ var import_utils27 = __toESM2(require_cjs22(), 1);
4008
4008
  var ENV3 = "development";
4009
4009
  var colorStringToRgbaArray = (color) => {
4010
4010
  if (color === "")
@@ -4136,11 +4136,11 @@ var require_cjs2 = __commonJS({
4136
4136
  return `rgba(${arr})`;
4137
4137
  };
4138
4138
  var getRgbTone = (rgb, tone) => {
4139
- if ((0, import_utils28.isString)(rgb) && rgb.includes("rgb"))
4139
+ if ((0, import_utils27.isString)(rgb) && rgb.includes("rgb"))
4140
4140
  rgb = colorStringToRgbaArray(rgb).join(", ");
4141
- if ((0, import_utils28.isString)(rgb))
4141
+ if ((0, import_utils27.isString)(rgb))
4142
4142
  rgb = rgb.split(",").map((v) => parseFloat(v.trim()));
4143
- if ((0, import_utils28.isNumber)(tone))
4143
+ if ((0, import_utils27.isNumber)(tone))
4144
4144
  tone += "";
4145
4145
  const toHex = rgbArrayToHex(rgb);
4146
4146
  const abs3 = tone.slice(0, 1);
@@ -4408,7 +4408,7 @@ var require_cjs2 = __commonJS({
4408
4408
  isBoolean: () => isBoolean2,
4409
4409
  isDate: () => isDate,
4410
4410
  isDefined: () => isDefined2,
4411
- isFunction: () => isFunction22,
4411
+ isFunction: () => isFunction2,
4412
4412
  isNot: () => isNot2,
4413
4413
  isNull: () => isNull2,
4414
4414
  isNumber: () => isNumber22,
@@ -4426,7 +4426,7 @@ var require_cjs2 = __commonJS({
4426
4426
  };
4427
4427
  var isString22 = (arg) => typeof arg === "string";
4428
4428
  var isNumber22 = (arg) => typeof arg === "number";
4429
- var isFunction22 = (arg) => typeof arg === "function";
4429
+ var isFunction2 = (arg) => typeof arg === "function";
4430
4430
  var isBoolean2 = (arg) => arg === true || arg === false;
4431
4431
  var isNull2 = (arg) => arg === null;
4432
4432
  var isArray32 = (arg) => Array.isArray(arg);
@@ -4437,7 +4437,7 @@ var require_cjs2 = __commonJS({
4437
4437
  return typeof arg === "object";
4438
4438
  };
4439
4439
  var isDefined2 = (arg) => {
4440
- return isObject32(arg) || isObjectLike32(arg) || isString22(arg) || isNumber22(arg) || isFunction22(arg) || isArray32(arg) || isObjectLike32(arg) || isBoolean2(arg) || isDate(arg) || isNull2(arg);
4440
+ return isObject32(arg) || isObjectLike32(arg) || isString22(arg) || isNumber22(arg) || isFunction2(arg) || isArray32(arg) || isObjectLike32(arg) || isBoolean2(arg) || isDate(arg) || isNull2(arg);
4441
4441
  };
4442
4442
  var isUndefined22 = (arg) => {
4443
4443
  return arg === void 0;
@@ -4450,7 +4450,7 @@ var require_cjs2 = __commonJS({
4450
4450
  date: isDate,
4451
4451
  number: isNumber22,
4452
4452
  null: isNull2,
4453
- function: isFunction22,
4453
+ function: isFunction2,
4454
4454
  objectLike: isObjectLike32,
4455
4455
  node: import_node.isNode,
4456
4456
  htmlElement: import_node.isHtmlElement,
@@ -6107,7 +6107,7 @@ var require_cjs2 = __commonJS({
6107
6107
  toggleFullscreen: () => toggleFullscreen
6108
6108
  });
6109
6109
  module2.exports = __toCommonJS22(src_exports3);
6110
- var import_utils29 = __toESM22(require_cjs32(), 1);
6110
+ var import_utils28 = __toESM22(require_cjs32(), 1);
6111
6111
  var toggleFullscreen = async (el) => {
6112
6112
  if (!document.fullscreenElement) {
6113
6113
  try {
@@ -6282,13 +6282,13 @@ var require_cjs2 = __commonJS({
6282
6282
  return result.charAt(0).toUpperCase() + result.slice(1);
6283
6283
  };
6284
6284
  var arrayzeValue = (val) => {
6285
- if ((0, import_utils29.isArray)(val))
6285
+ if ((0, import_utils28.isArray)(val))
6286
6286
  return val;
6287
- if ((0, import_utils29.isString)(val))
6287
+ if ((0, import_utils28.isString)(val))
6288
6288
  return val.split(" ");
6289
- if ((0, import_utils29.isObject)(val))
6289
+ if ((0, import_utils28.isObject)(val))
6290
6290
  return Object.values(val);
6291
- if ((0, import_utils29.isNumber)(val))
6291
+ if ((0, import_utils28.isNumber)(val))
6292
6292
  return [val];
6293
6293
  };
6294
6294
  var import_utils42 = __toESM2(require_cjs22(), 1);
@@ -8127,7 +8127,7 @@ var require_cjs3 = __commonJS({
8127
8127
  isBoolean: () => isBoolean2,
8128
8128
  isDate: () => isDate,
8129
8129
  isDefined: () => isDefined2,
8130
- isFunction: () => isFunction3,
8130
+ isFunction: () => isFunction2,
8131
8131
  isNot: () => isNot2,
8132
8132
  isNull: () => isNull,
8133
8133
  isNumber: () => isNumber22,
@@ -8145,7 +8145,7 @@ var require_cjs3 = __commonJS({
8145
8145
  };
8146
8146
  var isString22 = (arg) => typeof arg === "string";
8147
8147
  var isNumber22 = (arg) => typeof arg === "number";
8148
- var isFunction3 = (arg) => typeof arg === "function";
8148
+ var isFunction2 = (arg) => typeof arg === "function";
8149
8149
  var isBoolean2 = (arg) => arg === true || arg === false;
8150
8150
  var isNull = (arg) => arg === null;
8151
8151
  var isArray32 = (arg) => Array.isArray(arg);
@@ -8156,7 +8156,7 @@ var require_cjs3 = __commonJS({
8156
8156
  return typeof arg === "object";
8157
8157
  };
8158
8158
  var isDefined2 = (arg) => {
8159
- return isObject32(arg) || isObjectLike4(arg) || isString22(arg) || isNumber22(arg) || isFunction3(arg) || isArray32(arg) || isObjectLike4(arg) || isBoolean2(arg) || isDate(arg) || isNull(arg);
8159
+ return isObject32(arg) || isObjectLike4(arg) || isString22(arg) || isNumber22(arg) || isFunction2(arg) || isArray32(arg) || isObjectLike4(arg) || isBoolean2(arg) || isDate(arg) || isNull(arg);
8160
8160
  };
8161
8161
  var isUndefined11 = (arg) => {
8162
8162
  return arg === void 0;
@@ -8169,7 +8169,7 @@ var require_cjs3 = __commonJS({
8169
8169
  date: isDate,
8170
8170
  number: isNumber22,
8171
8171
  null: isNull,
8172
- function: isFunction3,
8172
+ function: isFunction2,
8173
8173
  objectLike: isObjectLike4,
8174
8174
  node: import_node.isNode,
8175
8175
  htmlElement: import_node.isHtmlElement,
@@ -9826,7 +9826,7 @@ var require_cjs3 = __commonJS({
9826
9826
  toggleFullscreen: () => toggleFullscreen
9827
9827
  });
9828
9828
  module2.exports = __toCommonJS2(src_exports2);
9829
- var import_utils28 = __toESM2(require_cjs17(), 1);
9829
+ var import_utils27 = __toESM2(require_cjs17(), 1);
9830
9830
  var toggleFullscreen = async (el) => {
9831
9831
  if (!document.fullscreenElement) {
9832
9832
  try {
@@ -9838,15 +9838,15 @@ var require_cjs3 = __commonJS({
9838
9838
  await document.exitFullscreen();
9839
9839
  }
9840
9840
  };
9841
- var import_utils29 = __toESM2(require_cjs17(), 1);
9841
+ var import_utils28 = __toESM2(require_cjs17(), 1);
9842
9842
  var findClosestNumber = (number, arr) => {
9843
- return ((0, import_utils29.isArray)(arr) ? arr : Object.values(arr)).reduce((prev3, curr) => {
9843
+ return ((0, import_utils28.isArray)(arr) ? arr : Object.values(arr)).reduce((prev3, curr) => {
9844
9844
  return Math.abs(curr - number) < Math.abs(prev3 - number) ? curr : prev3;
9845
9845
  });
9846
9846
  };
9847
9847
  var findClosestNumberInFactory = (val, factory) => {
9848
9848
  val = parseFloat(val);
9849
- if ((0, import_utils29.isObject)(factory))
9849
+ if ((0, import_utils28.isObject)(factory))
9850
9850
  factory = Object.values(factory);
9851
9851
  return findClosestNumber(val, factory);
9852
9852
  };
@@ -10001,13 +10001,13 @@ var require_cjs3 = __commonJS({
10001
10001
  return result.charAt(0).toUpperCase() + result.slice(1);
10002
10002
  };
10003
10003
  var arrayzeValue = (val) => {
10004
- if ((0, import_utils28.isArray)(val))
10004
+ if ((0, import_utils27.isArray)(val))
10005
10005
  return val;
10006
- if ((0, import_utils28.isString)(val))
10006
+ if ((0, import_utils27.isString)(val))
10007
10007
  return val.split(" ");
10008
- if ((0, import_utils28.isObject)(val))
10008
+ if ((0, import_utils27.isObject)(val))
10009
10009
  return Object.values(val);
10010
- if ((0, import_utils28.isNumber)(val))
10010
+ if ((0, import_utils27.isNumber)(val))
10011
10011
  return [val];
10012
10012
  };
10013
10013
  }
@@ -11531,13 +11531,13 @@ var require_on = __commonJS({
11531
11531
  triggerEventOnUpdate: () => triggerEventOnUpdate
11532
11532
  });
11533
11533
  module2.exports = __toCommonJS2(on_exports);
11534
- var import_utils28 = require_cjs();
11534
+ var import_utils27 = require_cjs();
11535
11535
  var applyEvent = (param, element, state, context, options) => {
11536
11536
  return param.call(element, element, state || element.state, context || element.context, options);
11537
11537
  };
11538
11538
  var triggerEventOn = (param, element, options) => {
11539
11539
  var _a;
11540
- if (element.on && (0, import_utils28.isFunction)(element.on[param])) {
11540
+ if (element.on && (0, import_utils27.isFunction)(element.on[param])) {
11541
11541
  const { state, context } = element;
11542
11542
  return applyEvent(element.on[param] || ((_a = element.props) == null ? void 0 : _a[param]), element, state, context, options);
11543
11543
  }
@@ -11547,7 +11547,7 @@ var require_on = __commonJS({
11547
11547
  };
11548
11548
  var triggerEventOnUpdate = (param, updatedObj, element, options) => {
11549
11549
  var _a;
11550
- if (element.on && (0, import_utils28.isFunction)(element.on[param])) {
11550
+ if (element.on && (0, import_utils27.isFunction)(element.on[param])) {
11551
11551
  const { state, context } = element;
11552
11552
  return applyEventUpdate(element.on[param] || ((_a = element.props) == null ? void 0 : _a[param]), updatedObj, element, state, context, options);
11553
11553
  }
@@ -11568,7 +11568,7 @@ var require_on = __commonJS({
11568
11568
  if (param === "init" || param === "beforeClassAssign" || param === "render" || param === "renderRouter" || param === "attachNode" || param === "stateInit" || param === "stateCreated" || param === "beforeStateUpdate" || param === "stateUpdate" || param === "beforeUpdate" || param === "done" || param === "create" || param === "complete" || param === "frame" || param === "update")
11569
11569
  continue;
11570
11570
  const appliedFunction = element.on[param] || ((_a = element.props) == null ? void 0 : _a[param]);
11571
- if ((0, import_utils28.isFunction)(appliedFunction)) {
11571
+ if ((0, import_utils27.isFunction)(appliedFunction)) {
11572
11572
  node3.addEventListener(param, (event) => {
11573
11573
  const { state, context } = element;
11574
11574
  appliedFunction.call(element, event, element, state, context, options);
@@ -11703,9 +11703,9 @@ var require_can = __commonJS({
11703
11703
  });
11704
11704
  module2.exports = __toCommonJS2(can_exports);
11705
11705
  var import_report = require_cjs5();
11706
- var import_utils28 = require_cjs();
11706
+ var import_utils27 = require_cjs();
11707
11707
  var canRenderTag = (tag) => {
11708
- return (0, import_utils28.isValidHtmlTag)(tag || "div") || (0, import_report.report)("HTMLInvalidTag");
11708
+ return (0, import_utils27.isValidHtmlTag)(tag || "div") || (0, import_report.report)("HTMLInvalidTag");
11709
11709
  };
11710
11710
  }
11711
11711
  });
@@ -11766,8 +11766,8 @@ var require_cjs7 = __commonJS({
11766
11766
  });
11767
11767
  module2.exports = __toCommonJS2(router_exports);
11768
11768
  var import_event = require_cjs6();
11769
- var import_utils28 = require_cjs();
11770
- var getActiveRoute = (level = 0, route = import_utils28.window.location.pathname) => {
11769
+ var import_utils27 = require_cjs();
11770
+ var getActiveRoute = (level = 0, route = import_utils27.window.location.pathname) => {
11771
11771
  const routeArray = route.split("/");
11772
11772
  const activeRoute = routeArray[level + 1];
11773
11773
  if (activeRoute)
@@ -11781,7 +11781,7 @@ var require_cjs7 = __commonJS({
11781
11781
  initialRender: false,
11782
11782
  scrollToTop: true,
11783
11783
  scrollToNode: false,
11784
- scrollNode: import_utils28.document && import_utils28.document.documentElement,
11784
+ scrollNode: import_utils27.document && import_utils27.document.documentElement,
11785
11785
  scrollBody: false,
11786
11786
  useFragment: false,
11787
11787
  updateState: true,
@@ -11790,15 +11790,15 @@ var require_cjs7 = __commonJS({
11790
11790
  scrollToOptions: { behavior: "smooth" }
11791
11791
  };
11792
11792
  var router = (path, element, state = {}, options = {}) => {
11793
- const win = element.context.window || import_utils28.window;
11794
- const doc = element.context.document || import_utils28.document;
11793
+ const win = element.context.window || import_utils27.window;
11794
+ const doc = element.context.document || import_utils27.document;
11795
11795
  const opts = { ...defaultOptions, ...element.context.routerOptions, ...options };
11796
11796
  lastLevel = opts.lastLevel;
11797
11797
  const ref = element.__ref;
11798
11798
  if (opts.contentElementKey !== "content" && opts.contentElementKey !== ref.contentElementKey || !ref.contentElementKey) {
11799
11799
  ref.contentElementKey = opts.contentElementKey || "content";
11800
11800
  }
11801
- const contentElementKey = (0, import_utils28.setContentKey)(element, opts);
11801
+ const contentElementKey = (0, import_utils27.setContentKey)(element, opts);
11802
11802
  const urlObj = new win.URL(win.location.origin + path);
11803
11803
  const { pathname, search, hash: hash3 } = urlObj;
11804
11804
  const rootNode = element.node;
@@ -13158,11 +13158,11 @@ var require_methods = __commonJS({
13158
13158
  values: () => values
13159
13159
  });
13160
13160
  module2.exports = __toCommonJS2(methods_exports);
13161
- var import_utils28 = require_cjs();
13161
+ var import_utils27 = require_cjs();
13162
13162
  var import_ignore = require_ignore();
13163
13163
  var parse4 = function() {
13164
13164
  const state = this;
13165
- if ((0, import_utils28.isObject)(state)) {
13165
+ if ((0, import_utils27.isObject)(state)) {
13166
13166
  const obj = {};
13167
13167
  for (const param in state) {
13168
13168
  if (!import_ignore.IGNORE_STATE_PARAMS.includes(param)) {
@@ -13170,7 +13170,7 @@ var require_methods = __commonJS({
13170
13170
  }
13171
13171
  }
13172
13172
  return obj;
13173
- } else if ((0, import_utils28.isArray)(state)) {
13173
+ } else if ((0, import_utils27.isArray)(state)) {
13174
13174
  return state.filter((item) => !import_ignore.IGNORE_STATE_PARAMS.includes(item));
13175
13175
  }
13176
13176
  };
@@ -13190,7 +13190,7 @@ var require_methods = __commonJS({
13190
13190
  const state = this;
13191
13191
  const element = state.__element;
13192
13192
  const stateKey = element.__ref.__state;
13193
- if ((0, import_utils28.isString)(stateKey)) {
13193
+ if ((0, import_utils27.isString)(stateKey)) {
13194
13194
  element.parent.state.remove(stateKey, { isHoisted: true, ...options });
13195
13195
  return element.state;
13196
13196
  }
@@ -13203,7 +13203,7 @@ var require_methods = __commonJS({
13203
13203
  for (const key in state.__children) {
13204
13204
  const child = state.__children[key];
13205
13205
  if (child.state) {
13206
- if ((0, import_utils28.isArray)(child.state)) {
13206
+ if ((0, import_utils27.isArray)(child.state)) {
13207
13207
  Object.defineProperty(child.state, "parent", {
13208
13208
  value: state.parent,
13209
13209
  enumerable: false,
@@ -13237,10 +13237,10 @@ var require_methods = __commonJS({
13237
13237
  };
13238
13238
  var add = function(value2, options = {}) {
13239
13239
  const state = this;
13240
- if ((0, import_utils28.isArray)(state)) {
13240
+ if ((0, import_utils27.isArray)(state)) {
13241
13241
  state.push(value2);
13242
13242
  state.update(state.parse(), { overwrite: true, ...options });
13243
- } else if ((0, import_utils28.isObject)(state)) {
13243
+ } else if ((0, import_utils27.isObject)(state)) {
13244
13244
  const key = Object.keys(state).length;
13245
13245
  state.update({ [key]: value2 }, options);
13246
13246
  }
@@ -13251,41 +13251,41 @@ var require_methods = __commonJS({
13251
13251
  };
13252
13252
  var remove = function(key, options = {}) {
13253
13253
  const state = this;
13254
- if ((0, import_utils28.isArray)(state))
13255
- (0, import_utils28.removeFromArray)(state, key);
13256
- if ((0, import_utils28.isObject)(state))
13257
- (0, import_utils28.removeFromObject)(state, key);
13254
+ if ((0, import_utils27.isArray)(state))
13255
+ (0, import_utils27.removeFromArray)(state, key);
13256
+ if ((0, import_utils27.isObject)(state))
13257
+ (0, import_utils27.removeFromObject)(state, key);
13258
13258
  if (options.applyReset)
13259
13259
  return state.set(state.parse(), { replace: true, ...options });
13260
13260
  return state.update();
13261
13261
  };
13262
13262
  var set3 = function(val, options = {}) {
13263
13263
  const state = this;
13264
- const value2 = (0, import_utils28.deepClone)(val);
13264
+ const value2 = (0, import_utils27.deepClone)(val);
13265
13265
  return state.clean({ preventStateUpdate: true, ...options }).update(value2, { replace: true, ...options });
13266
13266
  };
13267
13267
  var reset = function(options = {}) {
13268
13268
  const state = this;
13269
- const value2 = (0, import_utils28.deepClone)(state.parse());
13269
+ const value2 = (0, import_utils27.deepClone)(state.parse());
13270
13270
  return state.set(value2, { replace: true, ...options });
13271
13271
  };
13272
13272
  var apply = function(func, options = {}) {
13273
13273
  const state = this;
13274
- if ((0, import_utils28.isFunction)(func)) {
13274
+ if ((0, import_utils27.isFunction)(func)) {
13275
13275
  const value2 = func(state);
13276
13276
  return state.update(value2, { replace: true, ...options });
13277
13277
  }
13278
13278
  };
13279
13279
  var applyReplace = function(func, options = {}) {
13280
13280
  const state = this;
13281
- if ((0, import_utils28.isFunction)(func)) {
13281
+ if ((0, import_utils27.isFunction)(func)) {
13282
13282
  const value2 = func(state);
13283
13283
  return state.replace(value2, options);
13284
13284
  }
13285
13285
  };
13286
13286
  var applyFunction = function(func, options = {}) {
13287
13287
  const state = this;
13288
- if ((0, import_utils28.isFunction)(func)) {
13288
+ if ((0, import_utils27.isFunction)(func)) {
13289
13289
  func(state);
13290
13290
  return state.update(state.parse(), { replace: true, ...options });
13291
13291
  }
@@ -13349,7 +13349,7 @@ var require_inherit = __commonJS({
13349
13349
  isState: () => isState2
13350
13350
  });
13351
13351
  module2.exports = __toCommonJS2(inherit_exports);
13352
- var import_utils28 = require_cjs();
13352
+ var import_utils27 = require_cjs();
13353
13353
  var import_ignore = require_ignore();
13354
13354
  var getRootStateInKey = (stateKey, parentState) => {
13355
13355
  if (!stateKey.includes("~/"))
@@ -13414,11 +13414,11 @@ var require_inherit = __commonJS({
13414
13414
  var createInheritedState = (element, parent) => {
13415
13415
  const ref = element.__ref;
13416
13416
  const inheritedState = findInheritedState(element, parent);
13417
- if ((0, import_utils28.isUndefined)(inheritedState))
13417
+ if ((0, import_utils27.isUndefined)(inheritedState))
13418
13418
  return element.state;
13419
- if ((0, import_utils28.is)(inheritedState)("object", "array")) {
13420
- return (0, import_utils28.deepClone)(inheritedState, { exclude: import_ignore.IGNORE_STATE_PARAMS });
13421
- } else if ((0, import_utils28.is)(inheritedState)("string", "number", "boolean")) {
13419
+ if ((0, import_utils27.is)(inheritedState)("object", "array")) {
13420
+ return (0, import_utils27.deepClone)(inheritedState, { exclude: import_ignore.IGNORE_STATE_PARAMS });
13421
+ } else if ((0, import_utils27.is)(inheritedState)("string", "number", "boolean")) {
13422
13422
  ref.__stateType = typeof inheritedState;
13423
13423
  return { value: inheritedState };
13424
13424
  }
@@ -13427,12 +13427,12 @@ var require_inherit = __commonJS({
13427
13427
  var checkIfInherits = (element) => {
13428
13428
  const ref = element.__ref;
13429
13429
  const stateKey = ref.__state;
13430
- if (stateKey && (0, import_utils28.is)(stateKey)("number", "string", "boolean"))
13430
+ if (stateKey && (0, import_utils27.is)(stateKey)("number", "string", "boolean"))
13431
13431
  return true;
13432
13432
  return false;
13433
13433
  };
13434
13434
  var isState2 = function(state) {
13435
- if (!(0, import_utils28.isObjectLike)(state))
13435
+ if (!(0, import_utils27.isObjectLike)(state))
13436
13436
  return false;
13437
13437
  return state.update && state.parse && state.clean && state.create && state.parent && state.destroy && state.rootUpdate && state.parentUpdate && state.keys && state.values && state.toggle && state.replace && state.quietUpdate && state.quietReplace && state.add && state.apply && state.applyReplace && state.applyFunction && state.__element && state.__children;
13438
13438
  };
@@ -13481,7 +13481,7 @@ var require_updateState = __commonJS({
13481
13481
  var import_report = require_cjs5();
13482
13482
  var import_event = require_cjs6();
13483
13483
  var import_ignore = require_ignore();
13484
- var import_utils28 = require_cjs();
13484
+ var import_utils27 = require_cjs();
13485
13485
  var import_inherit = require_inherit();
13486
13486
  var STATE_UPDATE_OPTIONS = {
13487
13487
  overwrite: true,
@@ -13496,7 +13496,7 @@ var require_updateState = __commonJS({
13496
13496
  if (options.onEach)
13497
13497
  options.onEach(element, state, element.context, options);
13498
13498
  if (!options.updateByState)
13499
- (0, import_utils28.merge)(options, STATE_UPDATE_OPTIONS);
13499
+ (0, import_utils27.merge)(options, STATE_UPDATE_OPTIONS);
13500
13500
  if (!state.__element)
13501
13501
  (0, import_report.report)("ElementOnStateIsNotDefined");
13502
13502
  if (options.preventInheritAtCurrentState === true) {
@@ -13526,10 +13526,10 @@ var require_updateState = __commonJS({
13526
13526
  const shallow = overwrite === "shallow" || overwrite === "shallow-once";
13527
13527
  const merge22 = overwrite === "merge";
13528
13528
  if (merge22) {
13529
- (0, import_utils28.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
13529
+ (0, import_utils27.deepMerge)(state, obj, import_ignore.IGNORE_STATE_PARAMS);
13530
13530
  return;
13531
13531
  }
13532
- const overwriteFunc = shallow ? import_utils28.overwriteShallow : import_utils28.overwriteDeep;
13532
+ const overwriteFunc = shallow ? import_utils27.overwriteShallow : import_utils27.overwriteDeep;
13533
13533
  if (options.overwrite === "shallow-once")
13534
13534
  options.overwrite = true;
13535
13535
  overwriteFunc(state, obj, import_ignore.IGNORE_STATE_PARAMS);
@@ -13554,7 +13554,7 @@ var require_updateState = __commonJS({
13554
13554
  const changesValue = (0, import_inherit.createNestedObjectByKeyPath)(stateKey, passedValue);
13555
13555
  const targetParent = findRootState || findGrandParentState || parent.state;
13556
13556
  if (options.replace)
13557
- (0, import_utils28.overwriteDeep)(targetParent, changesValue || value2);
13557
+ (0, import_utils27.overwriteDeep)(targetParent, changesValue || value2);
13558
13558
  targetParent.update(changesValue, {
13559
13559
  execStateFunction: false,
13560
13560
  isHoisted: true,
@@ -13623,7 +13623,7 @@ var require_create = __commonJS({
13623
13623
  });
13624
13624
  module2.exports = __toCommonJS2(create_exports);
13625
13625
  var import_event = require_cjs6();
13626
- var import_utils28 = require_cjs();
13626
+ var import_utils27 = require_cjs();
13627
13627
  var import_ignore = require_ignore();
13628
13628
  var import_methods = require_methods();
13629
13629
  var import_updateState = require_updateState();
@@ -13643,7 +13643,7 @@ var require_create = __commonJS({
13643
13643
  return element.state;
13644
13644
  if ((0, import_inherit.checkIfInherits)(element)) {
13645
13645
  const inheritedState = (0, import_inherit.createInheritedState)(element, parent);
13646
- element.state = (0, import_utils28.isUndefined)(inheritedState) ? {} : inheritedState;
13646
+ element.state = (0, import_utils27.isUndefined)(inheritedState) ? {} : inheritedState;
13647
13647
  }
13648
13648
  const dependentState = applyDependentState(element, element.state || parent.state || {});
13649
13649
  if (dependentState)
@@ -13654,12 +13654,12 @@ var require_create = __commonJS({
13654
13654
  };
13655
13655
  var applyDependentState = (element, state) => {
13656
13656
  const { __ref, ref, __element } = state;
13657
- const origState = (0, import_utils28.exec)(__ref || ref || (__element == null ? void 0 : __element.state), element);
13657
+ const origState = (0, import_utils27.exec)(__ref || ref || (__element == null ? void 0 : __element.state), element);
13658
13658
  if (!origState)
13659
13659
  return;
13660
- const dependentState = (0, import_utils28.deepClone)(origState, import_ignore.IGNORE_STATE_PARAMS);
13660
+ const dependentState = (0, import_utils27.deepClone)(origState, import_ignore.IGNORE_STATE_PARAMS);
13661
13661
  const newDepends = { [element.key]: dependentState };
13662
- const __depends = (0, import_utils28.isObject)(origState.__depends) ? { ...origState.__depends, ...newDepends } : newDepends;
13662
+ const __depends = (0, import_utils27.isObject)(origState.__depends) ? { ...origState.__depends, ...newDepends } : newDepends;
13663
13663
  if (Array.isArray(origState)) {
13664
13664
  addProtoToArray(origState, { ...Object.getPrototypeOf(origState), __depends });
13665
13665
  } else {
@@ -13670,10 +13670,10 @@ var require_create = __commonJS({
13670
13670
  var checkForTypes = (element) => {
13671
13671
  const { state: orig, props: props4, __ref: ref } = element;
13672
13672
  const state = (props4 == null ? void 0 : props4.state) || orig;
13673
- if ((0, import_utils28.isFunction)(state)) {
13673
+ if ((0, import_utils27.isFunction)(state)) {
13674
13674
  ref.__state = state;
13675
- return (0, import_utils28.exec)(state, element);
13676
- } else if ((0, import_utils28.is)(state)("string", "number")) {
13675
+ return (0, import_utils27.exec)(state, element);
13676
+ } else if ((0, import_utils27.is)(state)("string", "number")) {
13677
13677
  ref.__state = state;
13678
13678
  return { value: state };
13679
13679
  } else if (state === true) {
@@ -13728,7 +13728,7 @@ var require_create = __commonJS({
13728
13728
  __children: {},
13729
13729
  root: ref.root ? ref.root.state : state
13730
13730
  };
13731
- if ((0, import_utils28.isArray)(state)) {
13731
+ if ((0, import_utils27.isArray)(state)) {
13732
13732
  addProtoToArray(state, proto);
13733
13733
  } else {
13734
13734
  Object.setPrototypeOf(state, proto);
@@ -15249,17 +15249,11 @@ var init_Avatar = __esm({
15249
15249
  });
15250
15250
 
15251
15251
  // ../uikit/Range/index.js
15252
- var import_utils17, import_scratch12, returnPropertyValue, Range, RangeWithButtons;
15252
+ var import_scratch12, Range;
15253
15253
  var init_Range = __esm({
15254
15254
  "../uikit/Range/index.js"() {
15255
15255
  "use strict";
15256
- import_utils17 = __toESM(require_cjs());
15257
15256
  import_scratch12 = __toESM(require_cjs2());
15258
- returnPropertyValue = (el, property, def) => {
15259
- const val = el.props && el.props[property];
15260
- const r = (0, import_utils17.isFunction)(val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 0;
15261
- return r + "";
15262
- };
15263
15257
  Range = {
15264
15258
  props: {
15265
15259
  appearance: "none",
@@ -15269,7 +15263,7 @@ var init_Range = __esm({
15269
15263
  flex: 1,
15270
15264
  onInput: (ev, el, s) => {
15271
15265
  const props4 = el.props;
15272
- if ((0, import_utils17.isFunction)(props4.onInput)) {
15266
+ if (el.call("isFunction", props4.onInput)) {
15273
15267
  props4.onInput(ev, el, s);
15274
15268
  } else {
15275
15269
  s.update({ value: parseFloat(el.node.value) });
@@ -15277,7 +15271,7 @@ var init_Range = __esm({
15277
15271
  },
15278
15272
  onChange: (ev, el, s) => {
15279
15273
  const props4 = el.props;
15280
- if ((0, import_utils17.isFunction)(props4.onChange)) {
15274
+ if (el.call("isFunction", props4.onChange)) {
15281
15275
  props4.onChange(ev, el, s);
15282
15276
  } else {
15283
15277
  s.update({ value: parseFloat(el.node.value) });
@@ -15331,81 +15325,20 @@ var init_Range = __esm({
15331
15325
  }
15332
15326
  }
15333
15327
  },
15328
+ deps: {
15329
+ returnPropertyValue: (el, property, def) => {
15330
+ const val = el.props && el.props[property];
15331
+ const r = el.call("isFunction", val) ? val(el, el.state) : val !== void 0 ? val : def !== void 0 ? def : 0;
15332
+ return r + "";
15333
+ }
15334
+ },
15334
15335
  tag: "input",
15335
15336
  attr: {
15336
15337
  type: "range",
15337
15338
  value: (el, s) => parseFloat(el.state.value || el.props.value || el.props.defaultValue),
15338
- min: (el, s) => returnPropertyValue(el, "min", 0),
15339
- max: (el, s) => returnPropertyValue(el, "max", 100),
15340
- step: (el, s) => returnPropertyValue(el, "step", 1)
15341
- }
15342
- };
15343
- RangeWithButtons = {
15344
- SquareButton_minus: {
15345
- icon: "minus",
15346
- theme: "field",
15347
- onClick: (ev, el, s) => {
15348
- const parentProps = el.parent.props;
15349
- if ((0, import_utils17.isFunction)(parentProps.onDecrease)) {
15350
- parentProps.onDecrease(ev, el.parent, s);
15351
- } else {
15352
- const value2 = parseFloat(s.value);
15353
- const min = returnPropertyValue(el.parent, "min", 1);
15354
- const step = returnPropertyValue(el.parent, "step", 1);
15355
- if (value2 > min) {
15356
- s.update({ value: value2 - step });
15357
- }
15358
- }
15359
- }
15360
- },
15361
- Value: {
15362
- tag: "span",
15363
- width: "4ch",
15364
- text: ({ state, parent }) => {
15365
- const unit = returnPropertyValue(parent, "unit", "");
15366
- return "" + (state.value || state.defaultValue || 0) + unit;
15367
- }
15368
- },
15369
- Range: {
15370
- attr: {
15371
- value: (el, s) => parseFloat(s.value || s.defaultValue),
15372
- min: (el, s) => returnPropertyValue(el.parent, "min", 0),
15373
- max: (el, s) => returnPropertyValue(el.parent, "max", 100),
15374
- step: (el, s) => returnPropertyValue(el.parent, "step", 1)
15375
- },
15376
- onInput: (ev, el, s) => {
15377
- const parentProps = el.parent.props;
15378
- if ((0, import_utils17.isFunction)(parentProps.onInput)) {
15379
- parentProps.onInput(ev, el, s);
15380
- } else {
15381
- s.update({ value: parseFloat(el.node.value) });
15382
- }
15383
- },
15384
- onChange: (ev, el, s) => {
15385
- const parentProps = el.parent.props;
15386
- if ((0, import_utils17.isFunction)(parentProps.onChange)) {
15387
- parentProps.onChange(ev, el, s);
15388
- } else {
15389
- s.update({ value: parseFloat(el.node.value) });
15390
- }
15391
- }
15392
- },
15393
- SquareButton_plus: {
15394
- theme: "field",
15395
- icon: "plus",
15396
- onClick: (ev, el, s) => {
15397
- const parentProps = el.parent.props;
15398
- if ((0, import_utils17.isFunction)(parentProps.onIncrease)) {
15399
- parentProps.onIncrease(ev, el.parent, s);
15400
- } else {
15401
- const value2 = parseFloat(s.value);
15402
- const max = returnPropertyValue(el.parent, "max", 1);
15403
- const step = returnPropertyValue(el.parent, "step", 1);
15404
- if (value2 < max) {
15405
- s.update({ value: value2 + step });
15406
- }
15407
- }
15408
- }
15339
+ min: (el, s) => el.deps.returnPropertyValue(el, "min", 0),
15340
+ max: (el, s) => el.deps.returnPropertyValue(el, "max", 100),
15341
+ step: (el, s) => el.deps.returnPropertyValue(el, "step", 1)
15409
15342
  }
15410
15343
  };
15411
15344
  }
@@ -15475,7 +15408,6 @@ __export(uikit_exports, {
15475
15408
  Radio: () => Radio,
15476
15409
  RadioHgroup: () => RadioHgroup,
15477
15410
  Range: () => Range,
15478
- RangeWithButtons: () => RangeWithButtons,
15479
15411
  RouteLink: () => RouteLink,
15480
15412
  RouterLink: () => RouterLink,
15481
15413
  Select: () => Select,
@@ -15693,11 +15625,11 @@ var require_tree = __commonJS({
15693
15625
  TREE: () => TREE
15694
15626
  });
15695
15627
  module2.exports = __toCommonJS2(tree_exports);
15696
- var import_utils28 = require_cjs();
15628
+ var import_utils27 = require_cjs();
15697
15629
  var import_report = require_cjs5();
15698
15630
  var ROOT = {
15699
15631
  key: ":root",
15700
- node: import_utils28.document ? import_utils28.document.body : (0, import_report.report)("DocumentNotDefined", import_utils28.document)
15632
+ node: import_utils27.document ? import_utils27.document.body : (0, import_report.report)("DocumentNotDefined", import_utils27.document)
15701
15633
  };
15702
15634
  var TREE = ROOT;
15703
15635
  }
@@ -15764,10 +15696,10 @@ var require_cache = __commonJS({
15764
15696
  module2.exports = __toCommonJS2(cache_exports);
15765
15697
  var import_report = require_cjs5();
15766
15698
  var import_event = require_cjs6();
15767
- var import_utils28 = require_cjs();
15699
+ var import_utils27 = require_cjs();
15768
15700
  var createHTMLNode = (element) => {
15769
15701
  const { tag, context } = element;
15770
- const doc = context.document || import_utils28.document;
15702
+ const doc = context.document || import_utils27.document;
15771
15703
  if (tag) {
15772
15704
  if (tag === "string")
15773
15705
  return doc.createTextNode(element.text);
@@ -15783,16 +15715,16 @@ var require_cache = __commonJS({
15783
15715
  };
15784
15716
  var detectTag = (element) => {
15785
15717
  let { tag, key, props: props4 } = element;
15786
- tag = (0, import_utils28.exec)(tag, element);
15718
+ tag = (0, import_utils27.exec)(tag, element);
15787
15719
  if (tag === true)
15788
15720
  tag = key;
15789
- if ((0, import_utils28.isObject)(props4) && (0, import_utils28.isString)(props4.tag)) {
15790
- const tagExists = (0, import_utils28.isValidHtmlTag)(props4.tag);
15721
+ if ((0, import_utils27.isObject)(props4) && (0, import_utils27.isString)(props4.tag)) {
15722
+ const tagExists = (0, import_utils27.isValidHtmlTag)(props4.tag);
15791
15723
  if (tagExists)
15792
15724
  return props4.tag;
15793
15725
  }
15794
- if ((0, import_utils28.isString)(tag)) {
15795
- if ((0, import_utils28.isValidHtmlTag)(tag))
15726
+ if ((0, import_utils27.isString)(tag)) {
15727
+ if ((0, import_utils27.isValidHtmlTag)(tag))
15796
15728
  return tag;
15797
15729
  } else {
15798
15730
  let keyAsTag = key.toLowerCase();
@@ -15800,7 +15732,7 @@ var require_cache = __commonJS({
15800
15732
  keyAsTag = keyAsTag.split(".")[0];
15801
15733
  if (keyAsTag.includes("_"))
15802
15734
  keyAsTag = keyAsTag.split("_")[0];
15803
- if ((0, import_utils28.isValidHtmlTag)(keyAsTag))
15735
+ if ((0, import_utils27.isValidHtmlTag)(keyAsTag))
15804
15736
  return keyAsTag;
15805
15737
  }
15806
15738
  return "div";
@@ -15968,9 +15900,9 @@ var require_inherit2 = __commonJS({
15968
15900
  inheritParentProps: () => inheritParentProps
15969
15901
  });
15970
15902
  module2.exports = __toCommonJS2(inherit_exports);
15971
- var import_utils28 = require_cjs();
15903
+ var import_utils27 = require_cjs();
15972
15904
  var objectizeStringProperty = (propValue) => {
15973
- if ((0, import_utils28.is)(propValue)("string", "number")) {
15905
+ if ((0, import_utils27.is)(propValue)("string", "number")) {
15974
15906
  return { inheritedString: propValue };
15975
15907
  }
15976
15908
  return propValue;
@@ -15978,9 +15910,9 @@ var require_inherit2 = __commonJS({
15978
15910
  var inheritParentProps = (element, parent) => {
15979
15911
  var _a;
15980
15912
  let propsStack = [];
15981
- const parentProps = (0, import_utils28.exec)(parent, parent.state).props;
15913
+ const parentProps = (0, import_utils27.exec)(parent, parent.state).props;
15982
15914
  const matchParent = parent.props && parentProps[element.key];
15983
- const matchParentIsString = (0, import_utils28.isString)(matchParent);
15915
+ const matchParentIsString = (0, import_utils27.isString)(matchParent);
15984
15916
  const matchParentChildProps = parentProps && parentProps.childProps;
15985
15917
  if (matchParent) {
15986
15918
  if (matchParentIsString) {
@@ -16028,19 +15960,19 @@ var require_create3 = __commonJS({
16028
15960
  syncProps: () => syncProps
16029
15961
  });
16030
15962
  module2.exports = __toCommonJS2(create_exports);
16031
- var import_utils28 = require_cjs();
15963
+ var import_utils27 = require_cjs();
16032
15964
  var import_ignore = require_ignore2();
16033
15965
  var import_inherit = require_inherit2();
16034
15966
  var createPropsStack = (element, parent) => {
16035
15967
  const { props: props4, __ref: ref } = element;
16036
15968
  const propsStack = ref.__props = (0, import_inherit.inheritParentProps)(element, parent);
16037
- if ((0, import_utils28.isObject)(props4))
15969
+ if ((0, import_utils27.isObject)(props4))
16038
15970
  propsStack.push(props4);
16039
15971
  else if (props4 === "inherit" && parent.props)
16040
15972
  propsStack.push(parent.props);
16041
15973
  else if (props4)
16042
15974
  propsStack.push(props4);
16043
- if ((0, import_utils28.isArray)(ref.__extend)) {
15975
+ if ((0, import_utils27.isArray)(ref.__extend)) {
16044
15976
  ref.__extend.forEach((extend) => {
16045
15977
  if (extend.props && extend.props !== props4)
16046
15978
  propsStack.push(extend.props);
@@ -16057,13 +15989,13 @@ var require_create3 = __commonJS({
16057
15989
  return;
16058
15990
  let execProps;
16059
15991
  try {
16060
- execProps = (0, import_utils28.exec)(v, element);
15992
+ execProps = (0, import_utils27.exec)(v, element);
16061
15993
  } catch (e) {
16062
15994
  element.error(e, opts);
16063
15995
  }
16064
- element.props = (0, import_utils28.deepMerge)(
15996
+ element.props = (0, import_utils27.deepMerge)(
16065
15997
  mergedProps,
16066
- (0, import_utils28.deepClone)(execProps, { ignore: import_ignore.IGNORE_PROPS_PARAMS }),
15998
+ (0, import_utils27.deepClone)(execProps, { ignore: import_ignore.IGNORE_PROPS_PARAMS }),
16067
15999
  import_ignore.IGNORE_PROPS_PARAMS
16068
16000
  );
16069
16001
  });
@@ -16211,7 +16143,7 @@ var require_object2 = __commonJS({
16211
16143
  overwriteShallow: () => overwriteShallow2
16212
16144
  });
16213
16145
  module2.exports = __toCommonJS2(object_exports);
16214
- var import_utils28 = require_cjs();
16146
+ var import_utils27 = require_cjs();
16215
16147
  var import_props = require_props();
16216
16148
  var IGNORE_STATE_PARAMS = [
16217
16149
  "update",
@@ -16263,7 +16195,7 @@ var require_object2 = __commonJS({
16263
16195
  "nextElement",
16264
16196
  "previousElement"
16265
16197
  ];
16266
- var METHODS_EXL = (0, import_utils28.joinArrays)(
16198
+ var METHODS_EXL = (0, import_utils27.joinArrays)(
16267
16199
  ["node", "state", "context", "extend", "__element"],
16268
16200
  METHODS,
16269
16201
  IGNORE_STATE_PARAMS,
@@ -16277,7 +16209,7 @@ var require_object2 = __commonJS({
16277
16209
  const extendProp = extend[e];
16278
16210
  if (elementProp === void 0) {
16279
16211
  element[e] = extendProp;
16280
- } else if ((0, import_utils28.isObjectLike)(elementProp) && (0, import_utils28.isObject)(extendProp)) {
16212
+ } else if ((0, import_utils27.isObjectLike)(elementProp) && (0, import_utils27.isObject)(extendProp)) {
16281
16213
  deepMerge7(elementProp, extendProp);
16282
16214
  }
16283
16215
  }
@@ -16324,7 +16256,7 @@ var require_object2 = __commonJS({
16324
16256
  continue;
16325
16257
  const objProp = obj[e];
16326
16258
  const paramsProp = params[e];
16327
- if ((0, import_utils28.isObjectLike)(objProp) && (0, import_utils28.isObjectLike)(paramsProp)) {
16259
+ if ((0, import_utils27.isObjectLike)(objProp) && (0, import_utils27.isObjectLike)(paramsProp)) {
16328
16260
  overwriteDeep2(objProp, paramsProp);
16329
16261
  } else if (paramsProp !== void 0) {
16330
16262
  obj[e] = paramsProp;
@@ -16333,15 +16265,15 @@ var require_object2 = __commonJS({
16333
16265
  return obj;
16334
16266
  };
16335
16267
  var mergeIfExisted = (a, b) => {
16336
- if ((0, import_utils28.isObjectLike)(a) && (0, import_utils28.isObjectLike)(b))
16268
+ if ((0, import_utils27.isObjectLike)(a) && (0, import_utils27.isObjectLike)(b))
16337
16269
  return deepMerge7(a, b);
16338
16270
  return a || b;
16339
16271
  };
16340
16272
  var mergeArray = (arr, exclude = ["parent", "node", "__element", "state", "context", "__ref"]) => {
16341
- return arr.reduce((a, c) => deepMerge7(a, (0, import_utils28.deepClone)(c, { exclude })), {});
16273
+ return arr.reduce((a, c) => deepMerge7(a, (0, import_utils27.deepClone)(c, { exclude })), {});
16342
16274
  };
16343
16275
  var mergeAndCloneIfArray = (obj) => {
16344
- return (0, import_utils28.isArray)(obj) ? mergeArray(obj) : (0, import_utils28.deepClone)(obj);
16276
+ return (0, import_utils27.isArray)(obj) ? mergeArray(obj) : (0, import_utils27.deepClone)(obj);
16345
16277
  };
16346
16278
  var flattenRecursive = (param, prop, stack = []) => {
16347
16279
  const objectized = mergeAndCloneIfArray(param);
@@ -16395,7 +16327,7 @@ var require_extendUtils = __commonJS({
16395
16327
  setHashedExtend: () => setHashedExtend
16396
16328
  });
16397
16329
  module2.exports = __toCommonJS2(extendUtils_exports);
16398
- var import_utils28 = require_cjs();
16330
+ var import_utils27 = require_cjs();
16399
16331
  var ENV3 = "development";
16400
16332
  var generateHash = () => Math.random().toString(36).substring(2);
16401
16333
  var extendStackRegistry = {};
@@ -16405,7 +16337,7 @@ var require_extendUtils = __commonJS({
16405
16337
  };
16406
16338
  var setHashedExtend = (extend, stack) => {
16407
16339
  const hash3 = generateHash();
16408
- if (!(0, import_utils28.isString)(extend)) {
16340
+ if (!(0, import_utils27.isString)(extend)) {
16409
16341
  extend.__hash = hash3;
16410
16342
  }
16411
16343
  extendStackRegistry[hash3] = stack;
@@ -16431,9 +16363,9 @@ var require_extendUtils = __commonJS({
16431
16363
  var flattenExtend = (extend, stack, context) => {
16432
16364
  if (!extend)
16433
16365
  return stack;
16434
- if ((0, import_utils28.isArray)(extend))
16366
+ if ((0, import_utils27.isArray)(extend))
16435
16367
  return extractArrayExtend(extend, stack, context);
16436
- if ((0, import_utils28.isString)(extend))
16368
+ if ((0, import_utils27.isString)(extend))
16437
16369
  extend = fallbackStringExtend(extend, context);
16438
16370
  stack.push(extend);
16439
16371
  if (extend.extend)
@@ -16448,14 +16380,14 @@ var require_extendUtils = __commonJS({
16448
16380
  const extendProp = extend[e];
16449
16381
  if (elementProp === void 0) {
16450
16382
  element[e] = extendProp;
16451
- } else if ((0, import_utils28.isObject)(elementProp) && (0, import_utils28.isObject)(extendProp)) {
16383
+ } else if ((0, import_utils27.isObject)(elementProp) && (0, import_utils27.isObject)(extendProp)) {
16452
16384
  deepMergeExtend(elementProp, extendProp);
16453
- } else if ((0, import_utils28.isArray)(elementProp) && (0, import_utils28.isArray)(extendProp)) {
16385
+ } else if ((0, import_utils27.isArray)(elementProp) && (0, import_utils27.isArray)(extendProp)) {
16454
16386
  element[e] = elementProp.concat(extendProp);
16455
- } else if ((0, import_utils28.isArray)(elementProp) && (0, import_utils28.isObject)(extendProp)) {
16387
+ } else if ((0, import_utils27.isArray)(elementProp) && (0, import_utils27.isObject)(extendProp)) {
16456
16388
  const obj = deepMergeExtend({}, elementProp);
16457
16389
  element[e] = deepMergeExtend(obj, extendProp);
16458
- } else if (elementProp === void 0 && (0, import_utils28.isFunction)(extendProp)) {
16390
+ } else if (elementProp === void 0 && (0, import_utils27.isFunction)(extendProp)) {
16459
16391
  element[e] = extendProp;
16460
16392
  }
16461
16393
  }
@@ -16463,13 +16395,13 @@ var require_extendUtils = __commonJS({
16463
16395
  };
16464
16396
  var cloneAndMergeArrayExtend = (stack) => {
16465
16397
  return stack.reduce((a, c) => {
16466
- return deepMergeExtend(a, (0, import_utils28.deepClone)(c));
16398
+ return deepMergeExtend(a, (0, import_utils27.deepClone)(c));
16467
16399
  }, {});
16468
16400
  };
16469
16401
  var fallbackStringExtend = (extend, context, options = {}) => {
16470
16402
  const COMPONENTS = context && context.components || options.components;
16471
16403
  const PAGES = context && context.pages || options.pages;
16472
- if ((0, import_utils28.isString)(extend)) {
16404
+ if ((0, import_utils27.isString)(extend)) {
16473
16405
  const componentExists = COMPONENTS && (COMPONENTS[extend] || COMPONENTS["smbls." + extend]);
16474
16406
  const pageExists = PAGES && extend.startsWith("/") && PAGES[extend];
16475
16407
  if (componentExists)
@@ -16529,30 +16461,30 @@ var require_extend = __commonJS({
16529
16461
  applyExtend: () => applyExtend
16530
16462
  });
16531
16463
  module2.exports = __toCommonJS2(extend_exports);
16532
- var import_utils28 = require_cjs();
16533
- var import_utils29 = require_utils();
16464
+ var import_utils27 = require_cjs();
16465
+ var import_utils28 = require_utils();
16534
16466
  var ENV3 = "development";
16535
16467
  var mainExtend;
16536
16468
  var applyExtend = (element, parent, options = {}) => {
16537
- if ((0, import_utils28.isFunction)(element))
16538
- element = (0, import_utils28.exec)(element, parent);
16469
+ if ((0, import_utils27.isFunction)(element))
16470
+ element = (0, import_utils27.exec)(element, parent);
16539
16471
  const { props: props4, __ref } = element;
16540
16472
  let extend = (props4 == null ? void 0 : props4.extends) || element.extends || element.extend;
16541
16473
  const context = element.context || parent.context;
16542
- extend = (0, import_utils29.fallbackStringExtend)(extend, context, options);
16543
- const extendStack = (0, import_utils29.getExtendStack)(extend, context);
16474
+ extend = (0, import_utils28.fallbackStringExtend)(extend, context, options);
16475
+ const extendStack = (0, import_utils28.getExtendStack)(extend, context);
16544
16476
  if (ENV3 !== "test" || ENV3 !== "development")
16545
16477
  delete element.extend;
16546
16478
  let childExtendStack = [];
16547
16479
  if (parent) {
16548
16480
  element.parent = parent;
16549
16481
  if (!options.ignoreChildExtend && !(props4 && props4.ignoreChildExtend)) {
16550
- childExtendStack = (0, import_utils29.getExtendStack)(parent.childExtend, context);
16482
+ childExtendStack = (0, import_utils28.getExtendStack)(parent.childExtend, context);
16551
16483
  const ignoreChildExtendRecursive = props4 && props4.ignoreChildExtendRecursive;
16552
16484
  if (parent.childExtendRecursive && !ignoreChildExtendRecursive) {
16553
16485
  const canExtendRecursive = element.key !== "__text";
16554
16486
  if (canExtendRecursive) {
16555
- const childExtendRecursiveStack = (0, import_utils29.getExtendStack)(parent.childExtendRecursive, context);
16487
+ const childExtendRecursiveStack = (0, import_utils28.getExtendStack)(parent.childExtendRecursive, context);
16556
16488
  childExtendStack = childExtendStack.concat(childExtendRecursiveStack);
16557
16489
  element.childExtendRecursive = parent.childExtendRecursive;
16558
16490
  }
@@ -16563,7 +16495,7 @@ var require_extend = __commonJS({
16563
16495
  const childExtendLength = childExtendStack.length;
16564
16496
  let stack = [];
16565
16497
  if (extendLength && childExtendLength) {
16566
- stack = (0, import_utils29.jointStacks)(extendStack, childExtendStack);
16498
+ stack = (0, import_utils28.jointStacks)(extendStack, childExtendStack);
16567
16499
  } else if (extendLength) {
16568
16500
  stack = extendStack;
16569
16501
  } else if (childExtendLength) {
@@ -16572,22 +16504,22 @@ var require_extend = __commonJS({
16572
16504
  return element;
16573
16505
  if (context.defaultExtends) {
16574
16506
  if (!mainExtend) {
16575
- const defaultOptionsExtend = (0, import_utils29.getExtendStack)(context.defaultExtends, context);
16576
- mainExtend = (0, import_utils29.cloneAndMergeArrayExtend)(defaultOptionsExtend);
16507
+ const defaultOptionsExtend = (0, import_utils28.getExtendStack)(context.defaultExtends, context);
16508
+ mainExtend = (0, import_utils28.cloneAndMergeArrayExtend)(defaultOptionsExtend);
16577
16509
  delete mainExtend.extend;
16578
16510
  }
16579
16511
  stack = [].concat(stack, mainExtend);
16580
16512
  }
16581
16513
  if (__ref)
16582
16514
  __ref.__extend = stack;
16583
- let mergedExtend = (0, import_utils29.cloneAndMergeArrayExtend)(stack);
16515
+ let mergedExtend = (0, import_utils28.cloneAndMergeArrayExtend)(stack);
16584
16516
  const COMPONENTS = context && context.components || options.components;
16585
- const component = (0, import_utils28.exec)(element.component || mergedExtend.component, element);
16517
+ const component = (0, import_utils27.exec)(element.component || mergedExtend.component, element);
16586
16518
  if (component && COMPONENTS && COMPONENTS[component]) {
16587
- const componentExtend = (0, import_utils29.cloneAndMergeArrayExtend)((0, import_utils29.getExtendStack)(COMPONENTS[component]));
16588
- mergedExtend = (0, import_utils29.deepMergeExtend)(componentExtend, mergedExtend);
16519
+ const componentExtend = (0, import_utils28.cloneAndMergeArrayExtend)((0, import_utils28.getExtendStack)(COMPONENTS[component]));
16520
+ mergedExtend = (0, import_utils28.deepMergeExtend)(componentExtend, mergedExtend);
16589
16521
  }
16590
- const merged = (0, import_utils29.deepMergeExtend)(element, mergedExtend);
16522
+ const merged = (0, import_utils28.deepMergeExtend)(element, mergedExtend);
16591
16523
  return merged;
16592
16524
  };
16593
16525
  }
@@ -16621,7 +16553,7 @@ var require_component2 = __commonJS({
16621
16553
  overwriteVariant: () => overwriteVariant
16622
16554
  });
16623
16555
  module2.exports = __toCommonJS2(component_exports);
16624
- var import_utils28 = require_cjs();
16556
+ var import_utils27 = require_cjs();
16625
16557
  var import_extend = require_extend();
16626
16558
  var import_mixins = require_mixins();
16627
16559
  var replaceOnKeys = (key) => key.replace(/on\w+/g, (match3) => match3.substring(2));
@@ -16642,7 +16574,7 @@ var require_component2 = __commonJS({
16642
16574
  if (isDefine) {
16643
16575
  newElem.define[k] = prop;
16644
16576
  }
16645
- const isComponent = (0, import_utils28.checkIfKeyIsComponent)(k);
16577
+ const isComponent = (0, import_utils27.checkIfKeyIsComponent)(k);
16646
16578
  const isRegistry = import_mixins.REGISTRY[k];
16647
16579
  if (isComponent || isRegistry) {
16648
16580
  newElem[k] = prop;
@@ -16656,25 +16588,25 @@ var require_component2 = __commonJS({
16656
16588
  let variantElement = element[variant];
16657
16589
  if (!variantElement)
16658
16590
  return;
16659
- const props4 = (0, import_utils28.isObject)(variantProps) ? variantProps : {};
16660
- if ((0, import_utils28.isString)(variantElement)) {
16591
+ const props4 = (0, import_utils27.isObject)(variantProps) ? variantProps : {};
16592
+ if ((0, import_utils27.isString)(variantElement)) {
16661
16593
  variantElement = {
16662
16594
  extend: [{ props: props4 }, variantElement]
16663
16595
  };
16664
16596
  } else if (variantElement.extend) {
16665
- variantElement = (0, import_utils28.addAdditionalExtend)({ props: props4 }, variantElement);
16597
+ variantElement = (0, import_utils27.addAdditionalExtend)({ props: props4 }, variantElement);
16666
16598
  }
16667
16599
  const extendedVariant = (0, import_extend.applyExtend)(variantElement, element.parent);
16668
16600
  const { parent, ...rest } = extendedVariant;
16669
- return (0, import_utils28.overwriteDeep)(element, rest);
16601
+ return (0, import_utils27.overwriteDeep)(element, rest);
16670
16602
  };
16671
16603
  var applyVariant = (element) => {
16672
16604
  const { props: props4 } = element;
16673
- if (!(0, import_utils28.hasVariantProp)(element))
16605
+ if (!(0, import_utils27.hasVariantProp)(element))
16674
16606
  return element;
16675
16607
  const { variant } = props4;
16676
16608
  overwriteVariant(element, `.${variant}`);
16677
- const elKeys = Object.keys(element).filter((key) => (0, import_utils28.isVariant)(key));
16609
+ const elKeys = Object.keys(element).filter((key) => (0, import_utils27.isVariant)(key));
16678
16610
  elKeys.forEach((variant2) => {
16679
16611
  const slicedVariantElementKey = variant2.slice(1);
16680
16612
  const variantElementProps = props4[slicedVariantElementKey];
@@ -16739,20 +16671,20 @@ var require_attr = __commonJS({
16739
16671
  default: () => attr_default
16740
16672
  });
16741
16673
  module2.exports = __toCommonJS2(attr_exports);
16742
- var import_utils28 = require_cjs();
16674
+ var import_utils27 = require_cjs();
16743
16675
  var import_report = require_cjs5();
16744
- var import_utils29 = require_utils();
16676
+ var import_utils28 = require_utils();
16745
16677
  function attr(params, element, node3) {
16746
16678
  const { __ref: ref, props: props4 } = element;
16747
16679
  const { __attr } = ref;
16748
- if ((0, import_utils28.isNot)("object"))
16680
+ if ((0, import_utils27.isNot)("object"))
16749
16681
  (0, import_report.report)("HTMLInvalidAttr", params);
16750
16682
  if (params) {
16751
16683
  if (props4.attr)
16752
- (0, import_utils29.deepMerge)(params, props4.attr);
16684
+ (0, import_utils28.deepMerge)(params, props4.attr);
16753
16685
  for (const attr2 in params) {
16754
- const val = (0, import_utils28.exec)(params[attr2], element);
16755
- if (val !== false && !(0, import_utils28.isUndefined)(val) && !(0, import_utils28.isNull)(val) && node3.setAttribute)
16686
+ const val = (0, import_utils27.exec)(params[attr2], element);
16687
+ if (val !== false && !(0, import_utils27.isUndefined)(val) && !(0, import_utils27.isNull)(val) && node3.setAttribute)
16756
16688
  node3.setAttribute(attr2, val);
16757
16689
  else if (node3.removeAttribute)
16758
16690
  node3.removeAttribute(attr2);
@@ -16795,7 +16727,7 @@ var require_classList = __commonJS({
16795
16727
  default: () => classList_default
16796
16728
  });
16797
16729
  module2.exports = __toCommonJS2(classList_exports);
16798
- var import_utils28 = require_cjs();
16730
+ var import_utils27 = require_cjs();
16799
16731
  var assignKeyAsClassname = (element) => {
16800
16732
  const { key } = element;
16801
16733
  if (element.class === true)
@@ -16813,7 +16745,7 @@ var require_classList = __commonJS({
16813
16745
  else if (typeof param === "string")
16814
16746
  className += ` ${param}`;
16815
16747
  else if (typeof param === "function") {
16816
- className += ` ${(0, import_utils28.exec)(param, element)}`;
16748
+ className += ` ${(0, import_utils27.exec)(param, element)}`;
16817
16749
  }
16818
16750
  }
16819
16751
  return className;
@@ -16824,9 +16756,9 @@ var require_classList = __commonJS({
16824
16756
  const { key } = element;
16825
16757
  if (params === true)
16826
16758
  params = element.class = { key };
16827
- if ((0, import_utils28.isString)(params))
16759
+ if ((0, import_utils27.isString)(params))
16828
16760
  params = element.class = { default: params };
16829
- if ((0, import_utils28.isObject)(params))
16761
+ if ((0, import_utils27.isObject)(params))
16830
16762
  params = classify2(params, element);
16831
16763
  const className = params.replace(/\s+/g, " ").trim();
16832
16764
  if (element.ref)
@@ -16906,7 +16838,7 @@ var require_set = __commonJS({
16906
16838
  set: () => set3
16907
16839
  });
16908
16840
  module2.exports = __toCommonJS2(set_exports);
16909
- var import_utils28 = require_cjs();
16841
+ var import_utils27 = require_cjs();
16910
16842
  var import_options3 = require_options();
16911
16843
  var import_create = require_create4();
16912
16844
  var import_mixins = require_mixins();
@@ -16936,13 +16868,13 @@ var require_set = __commonJS({
16936
16868
  var _a;
16937
16869
  const element = el || this;
16938
16870
  const { __ref: ref } = element;
16939
- const content = (0, import_utils28.setContentKey)(element, options);
16871
+ const content = (0, import_utils27.setContentKey)(element, options);
16940
16872
  const __contentRef = content && content.__ref;
16941
16873
  const lazyLoad = element.props && element.props.lazyLoad;
16942
16874
  const hasCollection = element.$collection || element.$stateCollection || element.$propsCollection;
16943
16875
  if (options.preventContentUpdate === true && !hasCollection)
16944
16876
  return;
16945
- if (ref.__noCollectionDifference || __contentRef && __contentRef.__cached && (0, import_utils28.deepContains)(params, content)) {
16877
+ if (ref.__noCollectionDifference || __contentRef && __contentRef.__cached && (0, import_utils27.deepContains)(params, content)) {
16946
16878
  if (!options.preventBeforeUpdateListener && !options.preventListeners) {
16947
16879
  const beforeUpdateReturns = (0, import_event.triggerEventOnUpdate)("beforeUpdate", params, element, options);
16948
16880
  if (beforeUpdateReturns === false)
@@ -17003,7 +16935,7 @@ var require_content = __commonJS({
17003
16935
  updateContent: () => updateContent
17004
16936
  });
17005
16937
  module2.exports = __toCommonJS2(content_exports);
17006
- var import_utils28 = require_cjs();
16938
+ var import_utils27 = require_cjs();
17007
16939
  var import_set = require_set();
17008
16940
  var updateContent = function(params, options) {
17009
16941
  const element = this;
@@ -17017,7 +16949,7 @@ var require_content = __commonJS({
17017
16949
  var removeContent = function(el, opts = {}) {
17018
16950
  const element = el || this;
17019
16951
  const { __ref: ref } = element;
17020
- const contentElementKey = (0, import_utils28.setContentKey)(element, opts);
16952
+ const contentElementKey = (0, import_utils27.setContentKey)(element, opts);
17021
16953
  if (opts.contentElementKey !== "content")
17022
16954
  opts.contentElementKey = "content";
17023
16955
  if (element[contentElementKey]) {
@@ -17034,14 +16966,14 @@ var require_content = __commonJS({
17034
16966
  if (__cached && __cached[contentElementKey]) {
17035
16967
  if (__cached[contentElementKey].tag === "fragment")
17036
16968
  __cached[contentElementKey].parent.node.innerHTML = "";
17037
- else if (__cached[contentElementKey] && (0, import_utils28.isFunction)(__cached[contentElementKey].remove))
16969
+ else if (__cached[contentElementKey] && (0, import_utils27.isFunction)(__cached[contentElementKey].remove))
17038
16970
  __cached[contentElementKey].remove();
17039
16971
  }
17040
16972
  delete element[contentElementKey];
17041
16973
  }
17042
16974
  };
17043
16975
  function setContent(param, element, node3, opts) {
17044
- const contentElementKey = (0, import_utils28.setContentKey)(element, opts);
16976
+ const contentElementKey = (0, import_utils27.setContentKey)(element, opts);
17045
16977
  if (param && element) {
17046
16978
  if (element[contentElementKey].update) {
17047
16979
  element[contentElementKey].update({}, opts);
@@ -17081,18 +17013,18 @@ var require_data = __commonJS({
17081
17013
  default: () => data_default
17082
17014
  });
17083
17015
  module2.exports = __toCommonJS2(data_exports);
17084
- var import_utils28 = require_cjs();
17016
+ var import_utils27 = require_cjs();
17085
17017
  var import_report = require_cjs5();
17086
17018
  function data(params, element, node3) {
17087
17019
  if (params) {
17088
17020
  if (element.props.data)
17089
- (0, import_utils28.deepMerge)(params, element.props.data);
17021
+ (0, import_utils27.deepMerge)(params, element.props.data);
17090
17022
  if (params.showOnNode) {
17091
- if (!(0, import_utils28.isObject)(params))
17023
+ if (!(0, import_utils27.isObject)(params))
17092
17024
  (0, import_report.report)("HTMLInvalidData", params);
17093
17025
  for (const dataset in params) {
17094
17026
  if (dataset !== "showOnNode") {
17095
- node3.dataset[dataset] = (0, import_utils28.exec)(params[dataset], element);
17027
+ node3.dataset[dataset] = (0, import_utils27.exec)(params[dataset], element);
17096
17028
  }
17097
17029
  }
17098
17030
  }
@@ -17129,10 +17061,10 @@ var require_html = __commonJS({
17129
17061
  html: () => html
17130
17062
  });
17131
17063
  module2.exports = __toCommonJS2(html_exports);
17132
- var import_utils28 = require_cjs();
17064
+ var import_utils27 = require_cjs();
17133
17065
  function html(param, element, node3) {
17134
17066
  var _a;
17135
- const prop = (0, import_utils28.exec)(param, element) || (0, import_utils28.exec)((_a = element == null ? void 0 : element.props) == null ? void 0 : _a.html, element);
17067
+ const prop = (0, import_utils27.exec)(param, element) || (0, import_utils27.exec)((_a = element == null ? void 0 : element.props) == null ? void 0 : _a.html, element);
17136
17068
  const { __ref } = element;
17137
17069
  if (prop !== __ref.__html) {
17138
17070
  if (node3.nodeName === "SVG")
@@ -17173,12 +17105,12 @@ var require_style = __commonJS({
17173
17105
  style: () => style2
17174
17106
  });
17175
17107
  module2.exports = __toCommonJS2(style_exports);
17176
- var import_utils28 = require_cjs();
17108
+ var import_utils27 = require_cjs();
17177
17109
  var import_report = require_cjs5();
17178
17110
  function style2(params, element, node3) {
17179
17111
  if (params) {
17180
- if ((0, import_utils28.isObject)(params))
17181
- (0, import_utils28.map)(node3.style, params, element);
17112
+ if ((0, import_utils27.isObject)(params))
17113
+ (0, import_utils27.map)(node3.style, params, element);
17182
17114
  else
17183
17115
  (0, import_report.report)("HTMLInvalidStyles", params);
17184
17116
  }
@@ -17215,11 +17147,11 @@ var require_text = __commonJS({
17215
17147
  });
17216
17148
  module2.exports = __toCommonJS2(text_exports);
17217
17149
  var import_create = require_create4();
17218
- var import_utils28 = require_cjs();
17150
+ var import_utils27 = require_cjs();
17219
17151
  function text(param, element, node3) {
17220
- let prop = (0, import_utils28.exec)(param, element);
17221
- if ((0, import_utils28.isString)(prop) && prop.includes("{{")) {
17222
- prop = (0, import_utils28.replaceLiteralsWithObjectFields)(prop, element.state);
17152
+ let prop = (0, import_utils27.exec)(param, element);
17153
+ if ((0, import_utils27.isString)(prop) && prop.includes("{{")) {
17154
+ prop = (0, import_utils27.replaceLiteralsWithObjectFields)(prop, element.state);
17223
17155
  }
17224
17156
  if (element.tag === "string") {
17225
17157
  node3.nodeValue = prop;
@@ -17266,10 +17198,10 @@ var require_state = __commonJS({
17266
17198
  });
17267
17199
  module2.exports = __toCommonJS2(state_exports);
17268
17200
  var import_state2 = require_cjs8();
17269
- var import_utils28 = require_cjs();
17201
+ var import_utils27 = require_cjs();
17270
17202
  function state(params, element, node3) {
17271
- const state2 = (0, import_utils28.exec)(params, element);
17272
- if ((0, import_utils28.isObject)(state2)) {
17203
+ const state2 = (0, import_utils27.exec)(params, element);
17204
+ if ((0, import_utils27.isObject)(state2)) {
17273
17205
  for (const param in state2) {
17274
17206
  if (import_state2.IGNORE_STATE_PARAMS.includes(param))
17275
17207
  continue;
@@ -17310,13 +17242,13 @@ var require_scope = __commonJS({
17310
17242
  scope: () => scope
17311
17243
  });
17312
17244
  module2.exports = __toCommonJS2(scope_exports);
17313
- var import_utils28 = require_cjs();
17245
+ var import_utils27 = require_cjs();
17314
17246
  function scope(params, element, node3) {
17315
- if (!(0, import_utils28.isObject)(params))
17247
+ if (!(0, import_utils27.isObject)(params))
17316
17248
  return;
17317
17249
  for (const scopeItem in params) {
17318
17250
  const value2 = params[scopeItem];
17319
- if ((0, import_utils28.isFunction)(value2)) {
17251
+ if ((0, import_utils27.isFunction)(value2)) {
17320
17252
  element.scope[scopeItem] = value2.bind(element);
17321
17253
  } else {
17322
17254
  element.scope[scopeItem] = value2;
@@ -17545,7 +17477,7 @@ var require_methods2 = __commonJS({
17545
17477
  warn: () => warn
17546
17478
  });
17547
17479
  module2.exports = __toCommonJS2(methods_exports);
17548
- var import_utils28 = require_cjs();
17480
+ var import_utils27 = require_cjs();
17549
17481
  var import_tree = require_tree();
17550
17482
  var import_mixins = require_mixins();
17551
17483
  var ENV3 = "development";
@@ -17568,7 +17500,7 @@ var require_methods2 = __commonJS({
17568
17500
  function lookup3(param) {
17569
17501
  const el = this;
17570
17502
  let { parent } = el;
17571
- if ((0, import_utils28.isFunction)(param)) {
17503
+ if ((0, import_utils27.isFunction)(param)) {
17572
17504
  if (parent.state && param(parent, parent.state, parent.context))
17573
17505
  return parent;
17574
17506
  else if (parent.parent)
@@ -17597,7 +17529,7 @@ var require_methods2 = __commonJS({
17597
17529
  const childElem = el[v];
17598
17530
  if (v === param)
17599
17531
  return childElem;
17600
- else if ((0, import_utils28.isFunction)(param)) {
17532
+ else if ((0, import_utils27.isFunction)(param)) {
17601
17533
  const exec6 = param(childElem, childElem.state, childElem.context);
17602
17534
  if (childElem.state && exec6) {
17603
17535
  return childElem;
@@ -17618,7 +17550,7 @@ var require_methods2 = __commonJS({
17618
17550
  const childElem = el[v];
17619
17551
  if (v === param)
17620
17552
  results.push(childElem);
17621
- else if ((0, import_utils28.isFunction)(param)) {
17553
+ else if ((0, import_utils27.isFunction)(param)) {
17622
17554
  const exec6 = param(childElem, childElem.state, childElem.context);
17623
17555
  if (childElem.state && exec6)
17624
17556
  results.push(childElem);
@@ -17635,7 +17567,7 @@ var require_methods2 = __commonJS({
17635
17567
  for (const param in params) {
17636
17568
  const value2 = params[param];
17637
17569
  const childElem = el[param];
17638
- if ((0, import_utils28.isObject)(value2) && childElem)
17570
+ if ((0, import_utils27.isObject)(value2) && childElem)
17639
17571
  setNodeStyles.call(childElem, value2);
17640
17572
  else
17641
17573
  el.node.style[param] = value2;
@@ -17644,15 +17576,15 @@ var require_methods2 = __commonJS({
17644
17576
  }
17645
17577
  function remove() {
17646
17578
  const element = this;
17647
- if ((0, import_utils28.isFunction)(element.node.remove))
17579
+ if ((0, import_utils27.isFunction)(element.node.remove))
17648
17580
  element.node.remove();
17649
- else if (!(0, import_utils28.isProduction)()) {
17581
+ else if (!(0, import_utils27.isProduction)()) {
17650
17582
  console.warn("This item cant be removed");
17651
17583
  element.log();
17652
17584
  }
17653
17585
  delete element.parent[element.key];
17654
17586
  if (element.parent.__ref)
17655
- element.parent.__ref.__children = (0, import_utils28.removeValueFromArray)(element.parent.__ref.__children, element.key);
17587
+ element.parent.__ref.__children = (0, import_utils27.removeValueFromArray)(element.parent.__ref.__children, element.key);
17656
17588
  }
17657
17589
  function get(param) {
17658
17590
  const element = this;
@@ -17694,8 +17626,8 @@ var require_methods2 = __commonJS({
17694
17626
  if (v === "state") {
17695
17627
  if (element.__ref && !element.__ref.__hasRootState)
17696
17628
  return;
17697
- const parsedVal = (0, import_utils28.isFunction)(val && val.parse) ? val.parse() : val;
17698
- obj[v] = (0, import_utils28.isFunction)(parsedVal) ? parsedVal : JSON.parse(JSON.stringify(parsedVal || {}));
17629
+ const parsedVal = (0, import_utils27.isFunction)(val && val.parse) ? val.parse() : val;
17630
+ obj[v] = (0, import_utils27.isFunction)(parsedVal) ? parsedVal : JSON.parse(JSON.stringify(parsedVal || {}));
17699
17631
  } else if (v === "scope") {
17700
17632
  if (element.__ref && !element.__ref.__hasRootScope)
17701
17633
  return;
@@ -17703,7 +17635,7 @@ var require_methods2 = __commonJS({
17703
17635
  } else if (v === "props") {
17704
17636
  const { __element, update, ...props4 } = element[v];
17705
17637
  obj[v] = props4;
17706
- } else if ((0, import_utils28.isDefined)(val) && Object.hasOwnProperty.call(element, v))
17638
+ } else if ((0, import_utils27.isDefined)(val) && Object.hasOwnProperty.call(element, v))
17707
17639
  obj[v] = val;
17708
17640
  });
17709
17641
  return obj;
@@ -17714,7 +17646,7 @@ var require_methods2 = __commonJS({
17714
17646
  for (const v in obj) {
17715
17647
  if (excl.includes(v))
17716
17648
  return;
17717
- if ((0, import_utils28.isObjectLike)(obj[v])) {
17649
+ if ((0, import_utils27.isObjectLike)(obj[v])) {
17718
17650
  obj[v] = parseDeep.call(obj[v], excl);
17719
17651
  }
17720
17652
  }
@@ -17794,7 +17726,7 @@ var require_methods2 = __commonJS({
17794
17726
  changed: (cb) => {
17795
17727
  if (!changed)
17796
17728
  return;
17797
- const returns = cb(changes, (0, import_utils28.deepClone)(varCaches));
17729
+ const returns = cb(changes, (0, import_utils27.deepClone)(varCaches));
17798
17730
  for (const key in changes) {
17799
17731
  varCaches[key] = changes[key];
17800
17732
  }
@@ -17874,8 +17806,8 @@ var require_iterate = __commonJS({
17874
17806
  throughUpdatedExec: () => throughUpdatedExec
17875
17807
  });
17876
17808
  module2.exports = __toCommonJS2(iterate_exports);
17877
- var import_utils28 = require_cjs();
17878
- var import_utils29 = require_utils();
17809
+ var import_utils27 = require_cjs();
17810
+ var import_utils28 = require_utils();
17879
17811
  var import_methods = require_methods2();
17880
17812
  var throughInitialExec = (element, exclude = {}) => {
17881
17813
  const { __ref: ref } = element;
@@ -17883,13 +17815,13 @@ var require_iterate = __commonJS({
17883
17815
  if (exclude[param])
17884
17816
  continue;
17885
17817
  const prop = element[param];
17886
- if ((0, import_utils28.isFunction)(prop) && !(0, import_methods.isMethod)(param, element) && !(0, import_utils28.isVariant)(param)) {
17818
+ if ((0, import_utils27.isFunction)(prop) && !(0, import_methods.isMethod)(param, element) && !(0, import_utils27.isVariant)(param)) {
17887
17819
  ref.__exec[param] = prop;
17888
17820
  element[param] = prop(element, element.state, element.context);
17889
17821
  }
17890
17822
  }
17891
17823
  };
17892
- var throughUpdatedExec = (element, options = { excludes: import_utils29.METHODS_EXL }) => {
17824
+ var throughUpdatedExec = (element, options = { excludes: import_utils28.METHODS_EXL }) => {
17893
17825
  const { __ref: ref } = element;
17894
17826
  const changes = {};
17895
17827
  for (const param in ref.__exec) {
@@ -17898,13 +17830,13 @@ var require_iterate = __commonJS({
17898
17830
  if (isDefinedParam)
17899
17831
  continue;
17900
17832
  const newExec = ref.__exec[param](element, element.state, element.context);
17901
- const execReturnsString = (0, import_utils28.isString)(newExec) || (0, import_utils28.isNumber)(newExec);
17833
+ const execReturnsString = (0, import_utils27.isString)(newExec) || (0, import_utils27.isNumber)(newExec);
17902
17834
  if (prop && prop.node && execReturnsString) {
17903
- (0, import_utils29.overwrite)(prop, { text: newExec }, options);
17835
+ (0, import_utils28.overwrite)(prop, { text: newExec }, options);
17904
17836
  } else if (newExec !== prop) {
17905
- if ((0, import_utils28.checkIfKeyIsComponent)(param)) {
17906
- const { extend, ...newElem } = (0, import_utils28.extendizeByKey)(newExec, element, param);
17907
- (0, import_utils29.overwrite)(prop, newElem, options);
17837
+ if ((0, import_utils27.checkIfKeyIsComponent)(param)) {
17838
+ const { extend, ...newElem } = (0, import_utils27.extendizeByKey)(newExec, element, param);
17839
+ (0, import_utils28.overwrite)(prop, newElem, options);
17908
17840
  } else {
17909
17841
  ref.__cached[param] = changes[param] = prop;
17910
17842
  element[param] = newExec;
@@ -17919,27 +17851,27 @@ var require_iterate = __commonJS({
17919
17851
  for (const k in props4) {
17920
17852
  const isDefine = k.startsWith("is") || k.startsWith("has") || k.startsWith("use");
17921
17853
  const cachedExecProp = ref.__execProps[k];
17922
- if ((0, import_utils28.isFunction)(cachedExecProp)) {
17923
- props4[k] = (0, import_utils28.exec)(cachedExecProp, element);
17924
- } else if (isDefine && (0, import_utils28.isFunction)(props4[k])) {
17854
+ if ((0, import_utils27.isFunction)(cachedExecProp)) {
17855
+ props4[k] = (0, import_utils27.exec)(cachedExecProp, element);
17856
+ } else if (isDefine && (0, import_utils27.isFunction)(props4[k])) {
17925
17857
  ref.__execProps[k] = props4[k];
17926
- props4[k] = (0, import_utils28.exec)(props4[k], element);
17858
+ props4[k] = (0, import_utils27.exec)(props4[k], element);
17927
17859
  }
17928
17860
  }
17929
17861
  };
17930
17862
  var throughInitialDefine = (element) => {
17931
17863
  const { define, context, __ref: ref } = element;
17932
17864
  let defineObj = {};
17933
- const hasGlobalDefine = context && (0, import_utils28.isObject)(context.define);
17934
- if ((0, import_utils28.isObject)(define))
17865
+ const hasGlobalDefine = context && (0, import_utils27.isObject)(context.define);
17866
+ if ((0, import_utils27.isObject)(define))
17935
17867
  defineObj = { ...define };
17936
17868
  if (hasGlobalDefine)
17937
17869
  defineObj = { ...defineObj, ...context.define };
17938
17870
  for (const param in defineObj) {
17939
17871
  let elementProp = element[param];
17940
- if ((0, import_utils28.isFunction)(elementProp) && !(0, import_methods.isMethod)(param, element) && !(0, import_utils28.isVariant)(param)) {
17872
+ if ((0, import_utils27.isFunction)(elementProp) && !(0, import_methods.isMethod)(param, element) && !(0, import_utils27.isVariant)(param)) {
17941
17873
  ref.__exec[param] = elementProp;
17942
- const execParam2 = elementProp = (0, import_utils28.exec)(elementProp, element);
17874
+ const execParam2 = elementProp = (0, import_utils27.exec)(elementProp, element);
17943
17875
  if (execParam2) {
17944
17876
  elementProp = element[param] = execParam2.parse ? execParam2.parse() : execParam2;
17945
17877
  ref.__defineCache[param] = elementProp;
@@ -17955,15 +17887,15 @@ var require_iterate = __commonJS({
17955
17887
  const { context, define, __ref: ref } = element;
17956
17888
  const changes = {};
17957
17889
  let obj = {};
17958
- if ((0, import_utils28.isObject)(define))
17890
+ if ((0, import_utils27.isObject)(define))
17959
17891
  obj = { ...define };
17960
- if ((0, import_utils28.isObject)(context && context.define))
17892
+ if ((0, import_utils27.isObject)(context && context.define))
17961
17893
  obj = { ...obj, ...context.define };
17962
17894
  for (const param in obj) {
17963
17895
  const execParam = ref.__exec[param];
17964
17896
  if (execParam)
17965
17897
  ref.__defineCache[param] = execParam(element, element.state, element.context);
17966
- const cached = (0, import_utils28.exec)(ref.__defineCache[param], element);
17898
+ const cached = (0, import_utils27.exec)(ref.__defineCache[param], element);
17967
17899
  const newExecParam = obj[param](cached, element, element.state, element.context);
17968
17900
  if (newExecParam)
17969
17901
  element[param] = newExecParam;
@@ -17999,7 +17931,7 @@ var require_applyParam = __commonJS({
17999
17931
  applyParam: () => applyParam
18000
17932
  });
18001
17933
  module2.exports = __toCommonJS2(applyParam_exports);
18002
- var import_utils28 = require_cjs();
17934
+ var import_utils27 = require_cjs();
18003
17935
  var import_mixins = require_mixins();
18004
17936
  var applyParam = (param, element, options) => {
18005
17937
  const { node: node3, context, __ref: ref } = element;
@@ -18014,7 +17946,7 @@ var require_applyParam = __commonJS({
18014
17946
  return;
18015
17947
  const hasOnlyUpdate = onlyUpdate ? onlyUpdate === param || element.lookup(onlyUpdate) : true;
18016
17948
  if (isGlobalTransformer && !hasContextDefine && hasOnlyUpdate) {
18017
- if ((0, import_utils28.isFunction)(isGlobalTransformer)) {
17949
+ if ((0, import_utils27.isFunction)(isGlobalTransformer)) {
18018
17950
  isGlobalTransformer(prop, element, node3, options);
18019
17951
  return;
18020
17952
  }
@@ -18050,15 +17982,15 @@ var require_propEvents = __commonJS({
18050
17982
  propagateEventsFromProps: () => propagateEventsFromProps
18051
17983
  });
18052
17984
  module2.exports = __toCommonJS2(propEvents_exports);
18053
- var import_utils28 = require_cjs();
17985
+ var import_utils27 = require_cjs();
18054
17986
  var propagateEventsFromProps = (element) => {
18055
17987
  const { props: props4, on: on2 } = element;
18056
17988
  const eventKeysFromProps = Object.keys(props4).filter((key) => key.startsWith("on"));
18057
17989
  eventKeysFromProps.forEach((v) => {
18058
- const eventName = (0, import_utils28.lowercaseFirstLetter)(v.split("on")[1]);
17990
+ const eventName = (0, import_utils27.lowercaseFirstLetter)(v.split("on")[1]);
18059
17991
  const origEvent = on2[eventName];
18060
17992
  const funcFromProps = props4[v];
18061
- if ((0, import_utils28.isFunction)(origEvent)) {
17993
+ if ((0, import_utils27.isFunction)(origEvent)) {
18062
17994
  on2[eventName] = (...args) => {
18063
17995
  const originalEventRetunrs = origEvent(...args);
18064
17996
  if (originalEventRetunrs !== false)
@@ -18108,7 +18040,7 @@ var require_node2 = __commonJS({
18108
18040
  default: () => node_default
18109
18041
  });
18110
18042
  module2.exports = __toCommonJS2(node_exports);
18111
- var import_utils28 = require_cjs();
18043
+ var import_utils27 = require_cjs();
18112
18044
  var import_event = require_cjs6();
18113
18045
  var import_render = require_cjs11();
18114
18046
  var import_methods = require_methods2();
@@ -18133,7 +18065,7 @@ var require_node2 = __commonJS({
18133
18065
  }
18134
18066
  if (ENV3 === "test" || ENV3 === "development" || options.alowRefReference) {
18135
18067
  node3.ref = element;
18136
- if ((0, import_utils28.isFunction)(node3.setAttribute))
18068
+ if ((0, import_utils27.isFunction)(node3.setAttribute))
18137
18069
  node3.setAttribute("key", element.key);
18138
18070
  }
18139
18071
  (0, import_iterate.throughExecProps)(element);
@@ -18142,7 +18074,7 @@ var require_node2 = __commonJS({
18142
18074
  if (element.tag !== "string" && element.tag !== "fragment") {
18143
18075
  (0, import_propEvents.propagateEventsFromProps)(element);
18144
18076
  (0, import_event.applyAnimationFrame)(element, options);
18145
- if (isNewNode && (0, import_utils28.isObject)(element.on)) {
18077
+ if (isNewNode && (0, import_utils27.isObject)(element.on)) {
18146
18078
  (0, import_event.applyEventsOnNode)(element, options);
18147
18079
  }
18148
18080
  }
@@ -18150,14 +18082,14 @@ var require_node2 = __commonJS({
18150
18082
  const value2 = element[param];
18151
18083
  if (!Object.hasOwnProperty.call(element, param))
18152
18084
  continue;
18153
- if ((0, import_utils28.isUndefined)(value2) || (0, import_methods.isMethod)(param, element) || (0, import_utils28.isVariant)(param) || (0, import_utils28.isObject)(import_mixins.REGISTRY[param]))
18085
+ if ((0, import_utils27.isUndefined)(value2) || (0, import_methods.isMethod)(param, element) || (0, import_utils27.isVariant)(param) || (0, import_utils27.isObject)(import_mixins.REGISTRY[param]))
18154
18086
  continue;
18155
18087
  const isElement = (0, import_applyParam.applyParam)(param, element, options);
18156
18088
  if (isElement) {
18157
18089
  const { hasDefine, hasContextDefine } = isElement;
18158
18090
  if (element[param] && !hasDefine && !hasContextDefine) {
18159
18091
  const createAsync2 = () => {
18160
- (0, import_create.default)((0, import_utils28.exec)(value2, element), element, param, options);
18092
+ (0, import_create.default)((0, import_utils27.exec)(value2, element), element, param, options);
18161
18093
  };
18162
18094
  if (element.props && element.props.lazyLoad || options.lazyLoad) {
18163
18095
  window.requestAnimationFrame(() => createAsync2());
@@ -18199,7 +18131,7 @@ var require_update2 = __commonJS({
18199
18131
  update: () => update
18200
18132
  });
18201
18133
  module2.exports = __toCommonJS2(update_exports);
18202
- var import_utils28 = require_cjs();
18134
+ var import_utils27 = require_cjs();
18203
18135
  var import_event = require_cjs6();
18204
18136
  var import_methods = require_methods2();
18205
18137
  var import_props = require_props();
@@ -18209,9 +18141,9 @@ var require_update2 = __commonJS({
18209
18141
  var import_mixins = require_mixins();
18210
18142
  var import_applyParam = require_applyParam();
18211
18143
  var import_options3 = require_options();
18212
- var import_utils29 = require_utils();
18144
+ var import_utils28 = require_utils();
18213
18145
  var snapshot = {
18214
- snapshotId: import_utils28.createSnapshotId
18146
+ snapshotId: import_utils27.createSnapshotId
18215
18147
  };
18216
18148
  var UPDATE_DEFAULT_OPTIONS = {
18217
18149
  stackChanges: false,
@@ -18219,11 +18151,11 @@ var require_update2 = __commonJS({
18219
18151
  preventRecursive: false,
18220
18152
  currentSnapshot: false,
18221
18153
  calleeElement: false,
18222
- excludes: import_utils29.METHODS_EXL
18154
+ excludes: import_utils28.METHODS_EXL
18223
18155
  };
18224
18156
  var update = function(params = {}, opts) {
18225
18157
  const calleeElementCache = opts == null ? void 0 : opts.calleeElement;
18226
- const options = (0, import_utils28.deepClone)((0, import_utils28.isObject)(opts) ? (0, import_utils29.deepMerge)(opts, UPDATE_DEFAULT_OPTIONS) : UPDATE_DEFAULT_OPTIONS, { exclude: ["calleeElement"] });
18158
+ const options = (0, import_utils27.deepClone)((0, import_utils27.isObject)(opts) ? (0, import_utils28.deepMerge)(opts, UPDATE_DEFAULT_OPTIONS) : UPDATE_DEFAULT_OPTIONS, { exclude: ["calleeElement"] });
18227
18159
  options.calleeElement = calleeElementCache;
18228
18160
  const element = this;
18229
18161
  const { parent, node: node3, key } = element;
@@ -18239,8 +18171,8 @@ var require_update2 = __commonJS({
18239
18171
  if (preventInheritAtCurrentState && preventInheritAtCurrentState.__element === element)
18240
18172
  return;
18241
18173
  if (!excludes)
18242
- (0, import_utils28.merge)(options, UPDATE_DEFAULT_OPTIONS);
18243
- if ((0, import_utils28.isString)(params) || (0, import_utils28.isNumber)(params)) {
18174
+ (0, import_utils27.merge)(options, UPDATE_DEFAULT_OPTIONS);
18175
+ if ((0, import_utils27.isString)(params) || (0, import_utils27.isNumber)(params)) {
18244
18176
  params = { text: params };
18245
18177
  }
18246
18178
  const inheritState = inheritStateUpdates(element, options);
@@ -18251,7 +18183,7 @@ var require_update2 = __commonJS({
18251
18183
  return;
18252
18184
  if (ref.__if && !options.preventPropsUpdate) {
18253
18185
  const hasParentProps = parent.props && (parent.props[key] || parent.props.childProps);
18254
- const hasFunctionInProps = ref.__props.filter((v) => (0, import_utils28.isFunction)(v));
18186
+ const hasFunctionInProps = ref.__props.filter((v) => (0, import_utils27.isFunction)(v));
18255
18187
  const props4 = params.props || hasParentProps || hasFunctionInProps.length;
18256
18188
  if (props4)
18257
18189
  (0, import_props.updateProps)(props4, element, parent);
@@ -18261,7 +18193,7 @@ var require_update2 = __commonJS({
18261
18193
  if (beforeUpdateReturns === false)
18262
18194
  return element;
18263
18195
  }
18264
- (0, import_utils28.overwriteDeep)(element, params, { exclude: import_utils29.METHODS_EXL });
18196
+ (0, import_utils27.overwriteDeep)(element, params, { exclude: import_utils28.METHODS_EXL });
18265
18197
  (0, import_iterate.throughExecProps)(element);
18266
18198
  (0, import_iterate.throughUpdatedExec)(element, { ignore: UPDATE_DEFAULT_OPTIONS });
18267
18199
  (0, import_iterate.throughUpdatedDefine)(element);
@@ -18284,7 +18216,7 @@ var require_update2 = __commonJS({
18284
18216
  preventUpdateAfterCount
18285
18217
  } = options;
18286
18218
  if (preventUpdateAfter) {
18287
- if ((0, import_utils28.isNumber)(preventUpdateAfterCount) && preventUpdateAfter <= preventUpdateAfterCount)
18219
+ if ((0, import_utils27.isNumber)(preventUpdateAfterCount) && preventUpdateAfter <= preventUpdateAfterCount)
18288
18220
  return;
18289
18221
  else if (options.preventUpdateAfterCount === void 0)
18290
18222
  options.preventUpdateAfterCount = 1;
@@ -18298,17 +18230,17 @@ var require_update2 = __commonJS({
18298
18230
  }
18299
18231
  if (!Object.hasOwnProperty.call(element, param))
18300
18232
  continue;
18301
- const isInPreventUpdate = (0, import_utils28.isArray)(preventUpdate) && preventUpdate.includes(param);
18302
- const isInPreventDefineUpdate = (0, import_utils28.isArray)(preventDefineUpdate) && preventDefineUpdate.includes(param);
18233
+ const isInPreventUpdate = (0, import_utils27.isArray)(preventUpdate) && preventUpdate.includes(param);
18234
+ const isInPreventDefineUpdate = (0, import_utils27.isArray)(preventDefineUpdate) && preventDefineUpdate.includes(param);
18303
18235
  const hasCollection = element.$collection || element.$stateCollection || element.$propsCollection;
18304
- if ((0, import_utils28.isUndefined)(prop) || isInPreventUpdate || isInPreventDefineUpdate || preventDefineUpdate === true || preventDefineUpdate === param || preventContentUpdate && param === "content" && !hasCollection || (preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param, element) || (0, import_utils28.isObject)(import_mixins.REGISTRY[param]) || (0, import_utils28.isVariant)(param))
18236
+ if ((0, import_utils27.isUndefined)(prop) || isInPreventUpdate || isInPreventDefineUpdate || preventDefineUpdate === true || preventDefineUpdate === param || preventContentUpdate && param === "content" && !hasCollection || (preventStateUpdate && param) === "state" || (0, import_methods.isMethod)(param, element) || (0, import_utils27.isObject)(import_mixins.REGISTRY[param]) || (0, import_utils27.isVariant)(param))
18305
18237
  continue;
18306
18238
  if (preventStateUpdate === "once")
18307
18239
  options.preventStateUpdate = false;
18308
18240
  const isElement = (0, import_applyParam.applyParam)(param, element, options);
18309
18241
  if (isElement) {
18310
18242
  const { hasDefine, hasContextDefine } = isElement;
18311
- const canUpdate = (0, import_utils28.isObject)(prop) && !hasDefine && !hasContextDefine && !preventRecursive;
18243
+ const canUpdate = (0, import_utils27.isObject)(prop) && !hasDefine && !hasContextDefine && !preventRecursive;
18312
18244
  if (!canUpdate)
18313
18245
  continue;
18314
18246
  const lazyLoad = element.props.lazyLoad || options.lazyLoad;
@@ -18320,7 +18252,7 @@ var require_update2 = __commonJS({
18320
18252
  currentSnapshot: snapshotOnCallee,
18321
18253
  calleeElement
18322
18254
  });
18323
- lazyLoad ? import_utils28.window.requestAnimationFrame(() => childUpdateCall()) : childUpdateCall();
18255
+ lazyLoad ? import_utils27.window.requestAnimationFrame(() => childUpdateCall()) : childUpdateCall();
18324
18256
  }
18325
18257
  }
18326
18258
  if (!preventUpdateListener)
@@ -18343,7 +18275,7 @@ var require_update2 = __commonJS({
18343
18275
  };
18344
18276
  var checkIfOnUpdate = (element, parent, options) => {
18345
18277
  var _a, _b, _c;
18346
- if (!(0, import_utils28.isFunction)(element.if) && !(0, import_utils28.isFunction)((_a = element.props) == null ? void 0 : _a.if) || !parent)
18278
+ if (!(0, import_utils27.isFunction)(element.if) && !(0, import_utils27.isFunction)((_a = element.props) == null ? void 0 : _a.if) || !parent)
18347
18279
  return;
18348
18280
  const ref = element.__ref;
18349
18281
  const ifPassed = (element.if || ((_b = element.props) == null ? void 0 : _b.if))(element, element.state, element.context, options);
@@ -18384,7 +18316,7 @@ var require_update2 = __commonJS({
18384
18316
  delete element.__ref;
18385
18317
  delete element.parent;
18386
18318
  const createdElement = (0, import_create.create)(element, parent, element.key, import_options3.OPTIONS.create, attachOptions);
18387
- if (options.preventUpdate !== true && element.on && (0, import_utils28.isFunction)(element.on.update)) {
18319
+ if (options.preventUpdate !== true && element.on && (0, import_utils27.isFunction)(element.on.update)) {
18388
18320
  (0, import_event.applyEvent)(element.on.update, createdElement, createdElement.state);
18389
18321
  }
18390
18322
  return createdElement;
@@ -18405,9 +18337,9 @@ var require_update2 = __commonJS({
18405
18337
  element.state = parent && parent.state || {};
18406
18338
  return;
18407
18339
  }
18408
- const shouldForceFunctionState = (0, import_utils28.isFunction)(stateKey) && !isHoisted && execStateFunction;
18340
+ const shouldForceFunctionState = (0, import_utils27.isFunction)(stateKey) && !isHoisted && execStateFunction;
18409
18341
  if (shouldForceFunctionState) {
18410
- const execState = (0, import_utils28.exec)(stateKey, element);
18342
+ const execState = (0, import_utils27.exec)(stateKey, element);
18411
18343
  state.set(execState, { ...options, preventUpdate: true, preventStateUpdateListener: false, updatedByStateFunction: true });
18412
18344
  return;
18413
18345
  }
@@ -18465,7 +18397,7 @@ var require_set2 = __commonJS({
18465
18397
  addMethods: () => addMethods
18466
18398
  });
18467
18399
  module2.exports = __toCommonJS2(set_exports);
18468
- var import_utils28 = require_cjs();
18400
+ var import_utils27 = require_cjs();
18469
18401
  var import_set = require_set();
18470
18402
  var import_update = require_update2();
18471
18403
  var import__ = require_methods2();
@@ -18498,7 +18430,7 @@ var require_set2 = __commonJS({
18498
18430
  error: import__.error
18499
18431
  };
18500
18432
  if (element.context.methods)
18501
- (options.strict ? import_utils28.merge : import_utils28.overwrite)(proto, element.context.methods);
18433
+ (options.strict ? import_utils27.merge : import_utils27.overwrite)(proto, element.context.methods);
18502
18434
  Object.setPrototypeOf(element, proto);
18503
18435
  };
18504
18436
  }
@@ -18543,7 +18475,7 @@ var require_create4 = __commonJS({
18543
18475
  module2.exports = __toCommonJS2(create_exports);
18544
18476
  var import_node = __toESM2(require_node2(), 1);
18545
18477
  var import_tree = require_tree();
18546
- var import_utils28 = require_cjs();
18478
+ var import_utils27 = require_cjs();
18547
18479
  var import_event = require_cjs6();
18548
18480
  var import_render = require_cjs11();
18549
18481
  var import_state2 = require_cjs8();
@@ -18566,9 +18498,9 @@ var require_create4 = __commonJS({
18566
18498
  parent = redefineParent(element, parent, key);
18567
18499
  key = createKey(element, parent, key);
18568
18500
  const ref = addRef(element, parent, key);
18569
- ref.__initialProps = (0, import_utils28.deepClone)(element.props);
18501
+ ref.__initialProps = (0, import_utils27.deepClone)(element.props);
18570
18502
  applyContext(element, parent, options);
18571
- (0, import_utils28.applyComponentFromContext)(element, parent, options);
18503
+ (0, import_utils27.applyComponentFromContext)(element, parent, options);
18572
18504
  if (!ref.__skipCreate) {
18573
18505
  (0, import_extend.applyExtend)(element, parent, options);
18574
18506
  }
@@ -18597,7 +18529,7 @@ var require_create4 = __commonJS({
18597
18529
  return element;
18598
18530
  (0, import_event.triggerEventOn)("beforeClassAssign", element, options);
18599
18531
  (0, import_classList.assignKeyAsClassname)(element);
18600
- (0, import_utils28.addChildrenIfNotInOriginal)(element, parent, key);
18532
+ (0, import_utils27.addChildrenIfNotInOriginal)(element, parent, key);
18601
18533
  renderElement(element, parent, options, attachOptions);
18602
18534
  addElementIntoParentChildren(element, parent);
18603
18535
  (0, import_event.triggerEventOn)("complete", element, options);
@@ -18610,7 +18542,7 @@ var require_create4 = __commonJS({
18610
18542
  }
18611
18543
  return {};
18612
18544
  }
18613
- if ((0, import_utils28.isString)(key) && key.slice(0, 2 === "__")) {
18545
+ if ((0, import_utils27.isString)(key) && key.slice(0, 2 === "__")) {
18614
18546
  if (ENV3 === "test" || ENV3 === "development") {
18615
18547
  console.warn(key, "seems like to be in __ref");
18616
18548
  }
@@ -18632,8 +18564,8 @@ var require_create4 = __commonJS({
18632
18564
  else
18633
18565
  element.syntaxv3 = true;
18634
18566
  return (0, import_component.createValidDomqlObjectFromSugar)(element, parent, key, options);
18635
- } else if ((0, import_utils28.checkIfKeyIsComponent)(key)) {
18636
- return (0, import_utils28.applyKeyComponentAsExtend)(elementWrapper, parent, key);
18567
+ } else if ((0, import_utils27.checkIfKeyIsComponent)(key)) {
18568
+ return (0, import_utils27.applyKeyComponentAsExtend)(elementWrapper, parent, key);
18637
18569
  }
18638
18570
  if (checkIfMedia(key)) {
18639
18571
  return applyMediaProps2(elementWrapper, parent, key);
@@ -18643,7 +18575,7 @@ var require_create4 = __commonJS({
18643
18575
  var redefineParent = (element, parent, key, options) => {
18644
18576
  if (!parent)
18645
18577
  return import_tree.ROOT;
18646
- if ((0, import_utils28.isNode)(parent)) {
18578
+ if ((0, import_utils27.isNode)(parent)) {
18647
18579
  const parentNodeWrapper = { key: ":root", node: parent };
18648
18580
  import_tree.ROOT[`${key}_parent`] = parentNodeWrapper;
18649
18581
  return parentNodeWrapper;
@@ -18657,7 +18589,7 @@ var require_create4 = __commonJS({
18657
18589
  }
18658
18590
  };
18659
18591
  var createKey = (element, parent, key) => {
18660
- return ((0, import_utils28.exec)(key, element) || key || element.key || (0, import_utils28.generateKey)()).toString();
18592
+ return ((0, import_utils27.exec)(key, element) || key || element.key || (0, import_utils27.generateKey)()).toString();
18661
18593
  };
18662
18594
  var addRef = (element, parent) => {
18663
18595
  if (element.__ref)
@@ -18687,7 +18619,7 @@ var require_create4 = __commonJS({
18687
18619
  visitedElements.set(element, true);
18688
18620
  const { __ref: ref, key } = element;
18689
18621
  try {
18690
- const isInfiniteLoopDetected = (0, import_utils28.detectInfiniteLoop)(ref.path);
18622
+ const isInfiniteLoopDetected = (0, import_utils27.detectInfiniteLoop)(ref.path);
18691
18623
  if (ref.__uniqId || isInfiniteLoopDetected)
18692
18624
  return;
18693
18625
  (0, import_node.default)(element, options);
@@ -18719,12 +18651,12 @@ var require_create4 = __commonJS({
18719
18651
  (0, import_event.triggerEventOn)("done", element, options);
18720
18652
  (0, import_event.triggerEventOn)("create", element, options);
18721
18653
  };
18722
- var checkIfPrimitive = (element) => (0, import_utils28.is)(element)("string", "number");
18654
+ var checkIfPrimitive = (element) => (0, import_utils27.is)(element)("string", "number");
18723
18655
  var applyValueAsText = (element, parent, key) => {
18724
18656
  const extendTag = element.extend && element.extend.tag;
18725
18657
  const childExtendTag = parent.childExtend && parent.childExtend.tag;
18726
18658
  const childPropsTag = parent.props.childProps && parent.props.childProps.tag;
18727
- const isKeyValidHTMLTag = import_utils28.HTML_TAGS.body.indexOf(key) > -1 && key;
18659
+ const isKeyValidHTMLTag = import_utils27.HTML_TAGS.body.indexOf(key) > -1 && key;
18728
18660
  return {
18729
18661
  text: element,
18730
18662
  tag: extendTag || childExtendTag || childPropsTag || isKeyValidHTMLTag || "string"
@@ -18744,7 +18676,7 @@ var require_create4 = __commonJS({
18744
18676
  };
18745
18677
  var createIfConditionFlag = (element, parent) => {
18746
18678
  const { __ref: ref } = element;
18747
- if ((0, import_utils28.isFunction)(element.if) && !element.if(element, element.state, element.context)) {
18679
+ if ((0, import_utils27.isFunction)(element.if) && !element.if(element, element.state, element.context)) {
18748
18680
  delete ref.__if;
18749
18681
  } else
18750
18682
  ref.__if = true;
@@ -18772,7 +18704,7 @@ var require_create4 = __commonJS({
18772
18704
  ref.__changes = [];
18773
18705
  if (!ref.__children)
18774
18706
  ref.__children = [];
18775
- if ((0, import_utils28.checkIfKeyIsComponent)(key))
18707
+ if ((0, import_utils27.checkIfKeyIsComponent)(key))
18776
18708
  ref.__componentKey = key.split("_")[0].split(".")[0].split("+")[0];
18777
18709
  const hasRoot = parent && parent.key === ":root";
18778
18710
  if (!ref.root)
@@ -18808,7 +18740,7 @@ var require_create4 = __commonJS({
18808
18740
  (0, import_iterate.throughInitialDefine)(element);
18809
18741
  (0, import_iterate.throughInitialExec)(element);
18810
18742
  for (const k in element) {
18811
- if ((0, import_utils28.isUndefined)(element[k]) || (0, import_methods.isMethod)(k, element) || (0, import_utils28.isObject)((import_mixins.registry.default || import_mixins.registry)[k]) || (0, import_utils28.isVariant)(k))
18743
+ if ((0, import_utils27.isUndefined)(element[k]) || (0, import_methods.isMethod)(k, element) || (0, import_utils27.isObject)((import_mixins.registry.default || import_mixins.registry)[k]) || (0, import_utils27.isVariant)(k))
18812
18744
  continue;
18813
18745
  const hasDefine = element.define && element.define[k];
18814
18746
  const contextHasDefine = element.context && element.context.define && element.context.define[k];
@@ -18816,7 +18748,7 @@ var require_create4 = __commonJS({
18816
18748
  if (!ref.__skipCreate && import_mixins.REGISTRY[k] && !optionsHasDefine) {
18817
18749
  continue;
18818
18750
  } else if (element[k] && !hasDefine && !optionsHasDefine && !contextHasDefine) {
18819
- create2((0, import_utils28.exec)(element[k], element), element, k, options);
18751
+ create2((0, import_utils27.exec)(element[k], element), element, k, options);
18820
18752
  }
18821
18753
  }
18822
18754
  }
@@ -22574,14 +22506,14 @@ function send(event = "change", changes, options) {
22574
22506
  function disconnect() {
22575
22507
  this.disconnect();
22576
22508
  }
22577
- var utils, globals, isFunction2, isArray3, window3, ENV, defautlOpts, CONNECT_ATTEPT, CONNECT_ATTEPT_MAX_ALLOWED, getIsDev, getSocketUrl, connect;
22509
+ var utils, globals, isFunction, isArray3, window3, ENV, defautlOpts, CONNECT_ATTEPT, CONNECT_ATTEPT_MAX_ALLOWED, getIsDev, getSocketUrl, connect;
22578
22510
  var init_client = __esm({
22579
22511
  "../socket/client.js"() {
22580
22512
  "use strict";
22581
22513
  utils = __toESM(require_cjs(), 1);
22582
22514
  globals = __toESM(require_cjs9(), 1);
22583
22515
  init_esm5();
22584
- ({ isFunction: isFunction2, isArray: isArray3 } = utils.default || utils);
22516
+ ({ isFunction, isArray: isArray3 } = utils.default || utils);
22585
22517
  ({ window: window3 } = globals.default || globals);
22586
22518
  ENV = "development";
22587
22519
  defautlOpts = {};
@@ -22617,7 +22549,7 @@ var init_client = __esm({
22617
22549
  }
22618
22550
  socket.emit("initConnect", { key, ...options });
22619
22551
  try {
22620
- if (isFunction2(options.onConnect)) {
22552
+ if (isFunction(options.onConnect)) {
22621
22553
  options.onConnect(socket.id, socket);
22622
22554
  }
22623
22555
  } catch (e) {
@@ -22627,7 +22559,7 @@ var init_client = __esm({
22627
22559
  socket.on("connect_error", (err) => {
22628
22560
  console.log(`event: connect_error | reason: ${err.message}`);
22629
22561
  try {
22630
- if (isFunction2(options.onError))
22562
+ if (isFunction(options.onError))
22631
22563
  options.onError(err, socket);
22632
22564
  if (CONNECT_ATTEPT < CONNECT_ATTEPT_MAX_ALLOWED) {
22633
22565
  CONNECT_ATTEPT++;
@@ -22649,7 +22581,7 @@ var init_client = __esm({
22649
22581
  socket.on("disconnect", (reason) => {
22650
22582
  console.log(`event: disconnect | reason: ${reason}`);
22651
22583
  try {
22652
- if (isFunction2(options.onDisconnect))
22584
+ if (isFunction(options.onDisconnect))
22653
22585
  options.onDisconnect(reason, socket);
22654
22586
  } catch (e) {
22655
22587
  console.error(e);
@@ -22659,7 +22591,7 @@ var init_client = __esm({
22659
22591
  if (event === "connect")
22660
22592
  return;
22661
22593
  try {
22662
- if (isFunction2(options.onChange)) {
22594
+ if (isFunction(options.onChange)) {
22663
22595
  options.onChange(event, args[0], socket);
22664
22596
  }
22665
22597
  } catch (e) {
@@ -22817,10 +22749,10 @@ var require_Inspect = __commonJS({
22817
22749
  });
22818
22750
  module2.exports = __toCommonJS2(Inspect_exports);
22819
22751
  var smblsUI = __toESM2((init_uikit(), __toCommonJS(uikit_exports)), 1);
22820
- var import_utils28 = require_cjs();
22752
+ var import_utils27 = require_cjs();
22821
22753
  var import_client = (init_client(), __toCommonJS(client_exports));
22822
22754
  function returnStringExtend(extend) {
22823
- return (0, import_utils28.isString)(extend) ? extend : (0, import_utils28.isArray)(extend) ? extend.find((extItem) => (0, import_utils28.isString)(extItem)) : "";
22755
+ return (0, import_utils27.isString)(extend) ? extend : (0, import_utils27.isArray)(extend) ? extend.find((extItem) => (0, import_utils27.isString)(extItem)) : "";
22824
22756
  }
22825
22757
  function getComponentKey(el) {
22826
22758
  if (!el)
@@ -22907,7 +22839,7 @@ var require_Inspect = __commonJS({
22907
22839
  on: {
22908
22840
  init: ({ context }) => {
22909
22841
  const { components } = context;
22910
- if ((0, import_utils28.isObject)(components)) {
22842
+ if ((0, import_utils27.isObject)(components)) {
22911
22843
  const { Content, ...rest } = components;
22912
22844
  for (const key in rest) {
22913
22845
  if (smblsUI[key])
@@ -23038,7 +22970,7 @@ var require_cjs14 = __commonJS({
23038
22970
  var import_init3 = (init_init(), __toCommonJS(init_exports));
23039
22971
  var import_client = (init_client(), __toCommonJS(client_exports));
23040
22972
  var import_globals = require_cjs9();
23041
- var import_utils28 = require_cjs();
22973
+ var import_utils27 = require_cjs();
23042
22974
  var import_Notifications = require_Notifications();
23043
22975
  var import_Inspect = require_Inspect();
23044
22976
  __reExport2(sync_exports, require_DefaultSyncApp(), module2.exports);
@@ -23062,16 +22994,16 @@ var require_cjs14 = __commonJS({
23062
22994
  const { state, designSystem, pages, components, snippets, functions } = obj.DATA;
23063
22995
  const { utils: utils2 } = ctx;
23064
22996
  if (pages) {
23065
- (0, import_utils28.overwriteShallow)(ctx.pages, pages);
22997
+ (0, import_utils27.overwriteShallow)(ctx.pages, pages);
23066
22998
  }
23067
22999
  if (components) {
23068
- (0, import_utils28.overwriteShallow)(ctx.components, components);
23000
+ (0, import_utils27.overwriteShallow)(ctx.components, components);
23069
23001
  }
23070
23002
  if (functions) {
23071
- (0, import_utils28.overwriteShallow)(ctx.functions, functions);
23003
+ (0, import_utils27.overwriteShallow)(ctx.functions, functions);
23072
23004
  }
23073
23005
  if (snippets) {
23074
- (0, import_utils28.overwriteShallow)(ctx.snippets, snippets);
23006
+ (0, import_utils27.overwriteShallow)(ctx.snippets, snippets);
23075
23007
  }
23076
23008
  if (state) {
23077
23009
  const route = state.route;
@@ -23296,7 +23228,7 @@ var require_types2 = __commonJS({
23296
23228
  isBoolean: () => isBoolean2,
23297
23229
  isDate: () => isDate,
23298
23230
  isDefined: () => isDefined2,
23299
- isFunction: () => isFunction3,
23231
+ isFunction: () => isFunction2,
23300
23232
  isNot: () => isNot2,
23301
23233
  isNull: () => isNull,
23302
23234
  isNumber: () => isNumber3,
@@ -23314,7 +23246,7 @@ var require_types2 = __commonJS({
23314
23246
  };
23315
23247
  var isString11 = (arg) => typeof arg === "string";
23316
23248
  var isNumber3 = (arg) => typeof arg === "number";
23317
- var isFunction3 = (arg) => typeof arg === "function";
23249
+ var isFunction2 = (arg) => typeof arg === "function";
23318
23250
  var isBoolean2 = (arg) => arg === true || arg === false;
23319
23251
  var isNull = (arg) => arg === null;
23320
23252
  var isArray4 = (arg) => Array.isArray(arg);
@@ -23325,7 +23257,7 @@ var require_types2 = __commonJS({
23325
23257
  return typeof arg === "object";
23326
23258
  };
23327
23259
  var isDefined2 = (arg) => {
23328
- return isObject11(arg) || isObjectLike4(arg) || isString11(arg) || isNumber3(arg) || isFunction3(arg) || isArray4(arg) || isObjectLike4(arg) || isBoolean2(arg) || isDate(arg) || isNull(arg);
23260
+ return isObject11(arg) || isObjectLike4(arg) || isString11(arg) || isNumber3(arg) || isFunction2(arg) || isArray4(arg) || isObjectLike4(arg) || isBoolean2(arg) || isDate(arg) || isNull(arg);
23329
23261
  };
23330
23262
  var isUndefined11 = (arg) => {
23331
23263
  return arg === void 0;
@@ -23338,7 +23270,7 @@ var require_types2 = __commonJS({
23338
23270
  date: isDate,
23339
23271
  number: isNumber3,
23340
23272
  null: isNull,
23341
- function: isFunction3,
23273
+ function: isFunction2,
23342
23274
  objectLike: isObjectLike4,
23343
23275
  node: import_node.isNode,
23344
23276
  htmlElement: import_node.isHtmlElement,
@@ -24502,21 +24434,21 @@ var require_cookie2 = __commonJS({
24502
24434
  });
24503
24435
  module2.exports = __toCommonJS2(cookie_exports);
24504
24436
  var import_types = require_types2();
24505
- var import_utils28 = require_cjs15();
24437
+ var import_utils27 = require_cjs15();
24506
24438
  var isMobile = (() => typeof navigator === "undefined" ? false : /Mobi/.test(navigator.userAgent))();
24507
24439
  var setCookie = (cname, cvalue, exdays = 365) => {
24508
- if ((0, import_types.isUndefined)(import_utils28.document) || (0, import_types.isUndefined)(import_utils28.document.cookie))
24440
+ if ((0, import_types.isUndefined)(import_utils27.document) || (0, import_types.isUndefined)(import_utils27.document.cookie))
24509
24441
  return;
24510
24442
  const d = /* @__PURE__ */ new Date();
24511
24443
  d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1e3);
24512
24444
  const expires = `expires=${d.toUTCString()}`;
24513
- import_utils28.document.cookie = `${cname}=${cvalue};${expires};path=/`;
24445
+ import_utils27.document.cookie = `${cname}=${cvalue};${expires};path=/`;
24514
24446
  };
24515
24447
  var getCookie = (cname) => {
24516
- if ((0, import_types.isUndefined)(import_utils28.document) || (0, import_types.isUndefined)(import_utils28.document.cookie))
24448
+ if ((0, import_types.isUndefined)(import_utils27.document) || (0, import_types.isUndefined)(import_utils27.document.cookie))
24517
24449
  return;
24518
24450
  const name = `${cname}=`;
24519
- const decodedCookie = decodeURIComponent(import_utils28.document.cookie);
24451
+ const decodedCookie = decodeURIComponent(import_utils27.document.cookie);
24520
24452
  const ca = decodedCookie.split(";");
24521
24453
  for (let i = 0; i < ca.length; i++) {
24522
24454
  let c = ca[i];
@@ -24528,9 +24460,9 @@ var require_cookie2 = __commonJS({
24528
24460
  return "";
24529
24461
  };
24530
24462
  var removeCookie = (cname) => {
24531
- if ((0, import_types.isUndefined)(import_utils28.document) || (0, import_types.isUndefined)(import_utils28.document.cookie))
24463
+ if ((0, import_types.isUndefined)(import_utils27.document) || (0, import_types.isUndefined)(import_utils27.document.cookie))
24532
24464
  return;
24533
- import_utils28.document.cookie = cname + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
24465
+ import_utils27.document.cookie = cname + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
24534
24466
  };
24535
24467
  function getLocalStorage(key) {
24536
24468
  let savedJSON;
@@ -25271,7 +25203,7 @@ __export(src_exports, {
25271
25203
  default: () => src_default
25272
25204
  });
25273
25205
  module.exports = __toCommonJS(src_exports);
25274
- var import_utils27 = __toESM(require_cjs(), 1);
25206
+ var import_utils26 = __toESM(require_cjs(), 1);
25275
25207
 
25276
25208
  // src/utilImports.js
25277
25209
  var utilImports_exports = {};
@@ -25292,7 +25224,7 @@ __reExport(utilImports_exports, __toESM(require_cjs7(), 1));
25292
25224
 
25293
25225
  // src/router.js
25294
25226
  var import_router2 = __toESM(require_cjs7(), 1);
25295
- var import_utils18 = __toESM(require_cjs(), 1);
25227
+ var import_utils17 = __toESM(require_cjs(), 1);
25296
25228
  init_uikit();
25297
25229
  var DEFAULT_ROUTING_OPTIONS = {
25298
25230
  initRouter: true,
@@ -25305,16 +25237,16 @@ var initRouter = (element, context) => {
25305
25237
  else if (context.router === true)
25306
25238
  context.router = DEFAULT_ROUTING_OPTIONS;
25307
25239
  else
25308
- (0, import_utils18.merge)(context.router || {}, DEFAULT_ROUTING_OPTIONS);
25240
+ (0, import_utils17.merge)(context.router || {}, DEFAULT_ROUTING_OPTIONS);
25309
25241
  const routerOptions = context.router;
25310
25242
  const router = context.utils && context.utils.router ? context.utils.router : import_router2.router;
25311
25243
  const onRouterRenderDefault = (el, s) => {
25312
- const { pathname, search, hash: hash3 } = import_utils18.window.location;
25244
+ const { pathname, search, hash: hash3 } = import_utils17.window.location;
25313
25245
  const url2 = pathname + search + hash3;
25314
25246
  if (el.routes)
25315
25247
  router(url2, el, {}, { initialRender: true });
25316
25248
  };
25317
- const hasRenderRouter = element.on && !(0, import_utils18.isUndefined)(element.on.renderRouter);
25249
+ const hasRenderRouter = element.on && !(0, import_utils17.isUndefined)(element.on.renderRouter);
25318
25250
  if (routerOptions && routerOptions.initRouter && !hasRenderRouter) {
25319
25251
  if (element.on) {
25320
25252
  element.on.renderRouter = onRouterRenderDefault;
@@ -25336,20 +25268,20 @@ var popStateRouter = (element, context) => {
25336
25268
  if (!routerOptions.popState)
25337
25269
  return;
25338
25270
  const router = context.utils && context.utils.router ? context.utils.router : import_router2.router;
25339
- import_utils18.window.onpopstate = (e) => {
25340
- const { pathname, search, hash: hash3 } = import_utils18.window.location;
25271
+ import_utils17.window.onpopstate = (e) => {
25272
+ const { pathname, search, hash: hash3 } = import_utils17.window.location;
25341
25273
  const url2 = pathname + search + hash3;
25342
25274
  router(url2, element, {}, { pushState: false, scrollToTop: false, level: 0 });
25343
25275
  };
25344
25276
  };
25345
25277
  var injectRouterInLinkComponent = (routerOptions) => {
25346
25278
  if (routerOptions && routerOptions.injectRouterInLinkComponent) {
25347
- return (0, import_utils18.deepMerge)(Link, RouterLink);
25279
+ return (0, import_utils17.deepMerge)(Link, RouterLink);
25348
25280
  }
25349
25281
  };
25350
25282
 
25351
25283
  // src/ferchOnCreate.js
25352
- var import_utils19 = __toESM(require_cjs(), 1);
25284
+ var import_utils18 = __toESM(require_cjs(), 1);
25353
25285
  var import_fetch = __toESM(require_cjs10(), 1);
25354
25286
  var fetchSync = async (key, options) => {
25355
25287
  if (key && options.editor) {
@@ -25366,10 +25298,10 @@ var fetchAsync = (app, key, options, callback) => {
25366
25298
  try {
25367
25299
  if (options.editor.async) {
25368
25300
  (0, import_fetch.fetchProjectAsync)(key, options, callback || ((data) => {
25369
- if ((0, import_utils19.isObject)(data.designsystem)) {
25301
+ if ((0, import_utils18.isObject)(data.designsystem)) {
25370
25302
  options.utils.init(data.designsystem);
25371
25303
  }
25372
- if ((0, import_utils19.isObject)(data.state)) {
25304
+ if ((0, import_utils18.isObject)(data.state)) {
25373
25305
  app.state.set(data.state);
25374
25306
  }
25375
25307
  }));
@@ -25434,19 +25366,19 @@ init_dynamic();
25434
25366
  // src/createDomql.js
25435
25367
  var import_domql = __toESM(require_cjs13(), 1);
25436
25368
  init_uikit();
25437
- var import_utils26 = __toESM(require_cjs(), 1);
25369
+ var import_utils25 = __toESM(require_cjs(), 1);
25438
25370
 
25439
25371
  // src/syncExtend.js
25440
- var import_utils20 = __toESM(require_cjs(), 1);
25372
+ var import_utils19 = __toESM(require_cjs(), 1);
25441
25373
  var import_sync = __toESM(require_cjs14(), 1);
25442
25374
  var initializeExtend = (app, ctx) => {
25443
- return (0, import_utils20.isObjectLike)(app.extend) ? app.extend : [];
25375
+ return (0, import_utils19.isObjectLike)(app.extend) ? app.extend : [];
25444
25376
  };
25445
25377
  var initializeSync = (app, ctx) => {
25446
25378
  const { editor } = ctx;
25447
25379
  if (!editor)
25448
25380
  return;
25449
- const liveSync = (0, import_utils20.isUndefined)(editor.liveSync) ? (0, import_utils20.isDevelopment)() : editor.liveSync;
25381
+ const liveSync = (0, import_utils19.isUndefined)(editor.liveSync) ? (0, import_utils19.isDevelopment)() : editor.liveSync;
25450
25382
  if (liveSync)
25451
25383
  app.extend.push(import_sync.SyncComponent);
25452
25384
  };
@@ -25454,7 +25386,7 @@ var initializeInspect = (app, ctx) => {
25454
25386
  const { editor } = ctx;
25455
25387
  if (!editor)
25456
25388
  return;
25457
- const inspect = (0, import_utils20.isUndefined)(editor.inspect) ? (0, import_utils20.isDevelopment)() : editor.inspect;
25389
+ const inspect = (0, import_utils19.isUndefined)(editor.inspect) ? (0, import_utils19.isDevelopment)() : editor.inspect;
25458
25390
  if (inspect)
25459
25391
  app.extend.push(import_sync.Inspect);
25460
25392
  };
@@ -25462,19 +25394,19 @@ var initializeNotifications = (app, ctx) => {
25462
25394
  const { editor } = ctx;
25463
25395
  if (!editor)
25464
25396
  return;
25465
- const verbose = (0, import_utils20.isUndefined)(editor.verbose) ? (0, import_utils20.isDevelopment)() || ctx.verbose : editor.verbose;
25397
+ const verbose = (0, import_utils19.isUndefined)(editor.verbose) ? (0, import_utils19.isDevelopment)() || ctx.verbose : editor.verbose;
25466
25398
  if (verbose)
25467
25399
  app.extend.push(import_sync.Notifications);
25468
25400
  };
25469
25401
 
25470
25402
  // src/prepare.js
25471
- var import_utils25 = __toESM(require_cjs(), 1);
25403
+ var import_utils24 = __toESM(require_cjs(), 1);
25472
25404
 
25473
25405
  // ../../../domql/plugins/emotion/index.js
25474
- var import_utils23 = __toESM(require_cjs());
25406
+ var import_utils22 = __toESM(require_cjs());
25475
25407
 
25476
25408
  // ../../../domql/node_modules/@domql/classlist/index.js
25477
- var import_utils21 = __toESM(require_cjs15());
25409
+ var import_utils20 = __toESM(require_cjs15());
25478
25410
  var classify = (obj, element) => {
25479
25411
  let className = "";
25480
25412
  for (const item in obj) {
@@ -25484,7 +25416,7 @@ var classify = (obj, element) => {
25484
25416
  else if (typeof param === "string")
25485
25417
  className += ` ${param}`;
25486
25418
  else if (typeof param === "function") {
25487
- className += ` ${(0, import_utils21.exec)(param, element)}`;
25419
+ className += ` ${(0, import_utils20.exec)(param, element)}`;
25488
25420
  }
25489
25421
  }
25490
25422
  return className;
@@ -25495,9 +25427,9 @@ var classList = (params, element) => {
25495
25427
  const { key } = element;
25496
25428
  if (params === true)
25497
25429
  params = element.class = { key };
25498
- if ((0, import_utils21.isString)(params))
25430
+ if ((0, import_utils20.isString)(params))
25499
25431
  params = element.class = { default: params };
25500
- if ((0, import_utils21.isObject)(params))
25432
+ if ((0, import_utils20.isObject)(params))
25501
25433
  params = classify(params, element);
25502
25434
  const className = params.replace(/\s+/g, " ").trim();
25503
25435
  if (element.ref)
@@ -26852,9 +26784,9 @@ var classnames3 = function classnames4(args) {
26852
26784
  // ../../../domql/plugins/emotion/index.js
26853
26785
  var transformEmotionStyle = (emotion2) => {
26854
26786
  return (params, element, state) => {
26855
- const execParams = (0, import_utils23.exec)(params, element);
26787
+ const execParams = (0, import_utils22.exec)(params, element);
26856
26788
  if (params) {
26857
- if ((0, import_utils23.isObjectLike)(element.class))
26789
+ if ((0, import_utils22.isObjectLike)(element.class))
26858
26790
  element.class.elementStyle = execParams;
26859
26791
  else
26860
26792
  element.class = { elementStyle: execParams };
@@ -26868,7 +26800,7 @@ var transformEmotionClass = (emotion2) => {
26868
26800
  return;
26869
26801
  const { __ref } = element;
26870
26802
  const { __class, __classNames } = __ref;
26871
- if (!(0, import_utils23.isObjectLike)(params))
26803
+ if (!(0, import_utils22.isObjectLike)(params))
26872
26804
  return;
26873
26805
  if (element.props.class) {
26874
26806
  __classNames.classProps = element.props.class;
@@ -26877,20 +26809,20 @@ var transformEmotionClass = (emotion2) => {
26877
26809
  __classNames.class = element.attr.class;
26878
26810
  }
26879
26811
  for (const key in params) {
26880
- const prop = (0, import_utils23.exec)(params[key], element);
26812
+ const prop = (0, import_utils22.exec)(params[key], element);
26881
26813
  if (!prop) {
26882
26814
  delete __class[key];
26883
26815
  delete __classNames[key];
26884
26816
  continue;
26885
26817
  }
26886
- const isEqual = (0, import_utils23.isEqualDeep)(__class[key], prop);
26818
+ const isEqual = (0, import_utils22.isEqualDeep)(__class[key], prop);
26887
26819
  if (!isEqual) {
26888
- if (!(0, import_utils23.isProduction)() && (0, import_utils23.isObject)(prop))
26820
+ if (!(0, import_utils22.isProduction)() && (0, import_utils22.isObject)(prop))
26889
26821
  prop.label = key || element.key;
26890
26822
  let className;
26891
- if ((0, import_utils23.isString)(prop) || (0, import_utils23.isNumber)(prop))
26823
+ if ((0, import_utils22.isString)(prop) || (0, import_utils22.isNumber)(prop))
26892
26824
  className = prop;
26893
- else if ((0, import_utils23.isBoolean)(prop))
26825
+ else if ((0, import_utils22.isBoolean)(prop))
26894
26826
  className = element.key;
26895
26827
  else
26896
26828
  className = emotion2.css(prop);
@@ -26913,7 +26845,7 @@ var transformDOMQLEmotion = (emotion2, options) => {
26913
26845
  // src/initEmotion.js
26914
26846
  init_emotion();
26915
26847
  init_init();
26916
- var import_utils24 = __toESM(require_cjs(), 1);
26848
+ var import_utils23 = __toESM(require_cjs(), 1);
26917
26849
 
26918
26850
  // ../default-config/src/index.js
26919
26851
  var import_default_icons = __toESM(require_cjs16());
@@ -27307,7 +27239,7 @@ var initEmotion = (key, options = {}) => {
27307
27239
  if (!initOptions.emotion)
27308
27240
  initOptions.emotion = emotion;
27309
27241
  const registry = options.registry || transformDOMQLEmotion(initOptions.emotion, options);
27310
- const designSystem = initOptions.useDefaultConfig || ((_a = options.designSystem) == null ? void 0 : _a.useDefaultConfig) ? (0, import_utils24.deepMerge)(options.designSystem, (0, import_utils24.deepClone)(DEFAULT_CONFIG)) : options.designSystem || (0, import_utils24.deepClone)(DEFAULT_CONFIG);
27242
+ const designSystem = initOptions.useDefaultConfig || ((_a = options.designSystem) == null ? void 0 : _a.useDefaultConfig) ? (0, import_utils23.deepMerge)(options.designSystem, (0, import_utils23.deepClone)(DEFAULT_CONFIG)) : options.designSystem || (0, import_utils23.deepClone)(DEFAULT_CONFIG);
27311
27243
  const scratchSystem2 = init(designSystem, {
27312
27244
  key,
27313
27245
  emotion: emotion2,
@@ -27340,7 +27272,7 @@ var UIkitWithPrefix = () => {
27340
27272
  const newObj = {};
27341
27273
  for (const key in uikit_exports) {
27342
27274
  if (Object.prototype.hasOwnProperty.call(uikit_exports, key)) {
27343
- if ((0, import_utils25.checkIfKeyIsComponent)(key)) {
27275
+ if ((0, import_utils24.checkIfKeyIsComponent)(key)) {
27344
27276
  newObj[`smbls.${key}`] = uikit_exports[key];
27345
27277
  } else {
27346
27278
  newObj[key] = uikit_exports[key];
@@ -27427,7 +27359,7 @@ var prepareRequire = (packages, ctx) => {
27427
27359
  return windowOpts2.require(key);
27428
27360
  };
27429
27361
  if (windowOpts.packages) {
27430
- windowOpts.packages = (0, import_utils25.merge)(windowOpts.packages, packages);
27362
+ windowOpts.packages = (0, import_utils24.merge)(windowOpts.packages, packages);
27431
27363
  } else {
27432
27364
  windowOpts.packages = packages;
27433
27365
  }
@@ -27449,12 +27381,12 @@ var prepareState = (app, context) => {
27449
27381
  if (context.state)
27450
27382
  utilImports_exports.deepMerge(state, context.state);
27451
27383
  if (app && app.state)
27452
- (0, import_utils25.deepMerge)(state, app.state);
27453
- return (0, import_utils25.deepClone)(state);
27384
+ (0, import_utils24.deepMerge)(state, app.state);
27385
+ return (0, import_utils24.deepClone)(state);
27454
27386
  };
27455
27387
  var preparePages = (app, context) => {
27456
- if ((0, import_utils25.isObject)(app.routes) && (0, import_utils25.isObject)(context.pages)) {
27457
- (0, import_utils25.merge)(app.routes, context.pages);
27388
+ if ((0, import_utils24.isObject)(app.routes) && (0, import_utils24.isObject)(context.pages)) {
27389
+ (0, import_utils24.merge)(app.routes, context.pages);
27458
27390
  }
27459
27391
  const pages = app.routes || context.pages || {};
27460
27392
  return Object.keys(pages).filter((v) => !v.startsWith("/")).reduce((pages2, v) => {
@@ -27486,7 +27418,7 @@ var initAnimationFrame = () => {
27486
27418
 
27487
27419
  // src/createDomql.js
27488
27420
  var prepareContext = (app, context = {}) => {
27489
- const key = context.key = context.key || ((0, import_utils26.isString)(app) ? app : "smblsapp");
27421
+ const key = context.key = context.key || ((0, import_utils25.isString)(app) ? app : "smblsapp");
27490
27422
  context.define = context.define || defaultDefine;
27491
27423
  context.window = prepareWindow(context);
27492
27424
  const [scratcDesignSystem, emotion2, registry] = prepareDesignSystem(key, context);
@@ -27505,17 +27437,17 @@ var prepareContext = (app, context = {}) => {
27505
27437
  return context;
27506
27438
  };
27507
27439
  var createDomqlElement = (app, ctx) => {
27508
- if (!(0, import_utils26.isObject)(ctx))
27440
+ if (!(0, import_utils25.isObject)(ctx))
27509
27441
  ctx = {};
27510
- if ((0, import_utils26.isNode)(app)) {
27442
+ if ((0, import_utils25.isNode)(app)) {
27511
27443
  app = {};
27512
27444
  ctx.parent = app;
27513
27445
  }
27514
- if ((0, import_utils26.isString)(app)) {
27446
+ if ((0, import_utils25.isString)(app)) {
27515
27447
  app = {};
27516
27448
  ctx.key = app;
27517
27449
  }
27518
- if (!(0, import_utils26.isObject)(app)) {
27450
+ if (!(0, import_utils25.isObject)(app)) {
27519
27451
  app = {};
27520
27452
  }
27521
27453
  prepareContext(app, ctx);
@@ -27544,9 +27476,9 @@ var createDomqlElement = (app, ctx) => {
27544
27476
  };
27545
27477
 
27546
27478
  // src/index.js
27547
- var mergeWithLocalFile2 = (options, optionsExternalFile) => (0, import_utils27.deepMerge)(
27479
+ var mergeWithLocalFile2 = (options, optionsExternalFile) => (0, import_utils26.deepMerge)(
27548
27480
  options,
27549
- (0, import_utils27.isObject)(optionsExternalFile) ? optionsExternalFile : dynamic_default || {}
27481
+ (0, import_utils26.isObject)(optionsExternalFile) ? optionsExternalFile : dynamic_default || {}
27550
27482
  );
27551
27483
  var create = (App, options = options_default, optionsExternalFile) => {
27552
27484
  const redefinedOptions = { ...options_default, ...mergeWithLocalFile2(options, optionsExternalFile) };
@@ -27575,10 +27507,10 @@ var createSync = async (App, options = options_default, optionsExternalFile) =>
27575
27507
  var createSkeleton = (App = {}, options = options_default, optionsExternalFile) => {
27576
27508
  return create(
27577
27509
  {
27578
- deps: { isUndefined: import_utils27.isUndefined },
27510
+ deps: { isUndefined: import_utils26.isUndefined },
27579
27511
  ...App
27580
27512
  },
27581
- (0, import_utils27.deepMerge)({ domqlOptions: { onlyResolveExtends: true } }, options),
27513
+ (0, import_utils26.deepMerge)({ domqlOptions: { onlyResolveExtends: true } }, options),
27582
27514
  optionsExternalFile
27583
27515
  );
27584
27516
  };