@jasonshimmy/custom-elements-runtime 2.2.8 → 2.3.0

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.
Files changed (32) hide show
  1. package/dist/custom-elements-runtime.cjs.js +2 -2
  2. package/dist/custom-elements-runtime.cjs.js.map +1 -1
  3. package/dist/custom-elements-runtime.es.js +250 -248
  4. package/dist/custom-elements-runtime.es.js.map +1 -1
  5. package/dist/custom-elements-runtime.event-bus.cjs.js +1 -1
  6. package/dist/custom-elements-runtime.event-bus.es.js +1 -1
  7. package/dist/custom-elements-runtime.router.cjs.js +17 -17
  8. package/dist/custom-elements-runtime.router.cjs.js.map +1 -1
  9. package/dist/custom-elements-runtime.router.es.js +267 -208
  10. package/dist/custom-elements-runtime.router.es.js.map +1 -1
  11. package/dist/custom-elements-runtime.ssr.cjs.js +1 -1
  12. package/dist/custom-elements-runtime.ssr.es.js +1 -1
  13. package/dist/index.d.ts +1 -0
  14. package/dist/logger-BuUYv7C_.js +44 -0
  15. package/dist/logger-BuUYv7C_.js.map +1 -0
  16. package/dist/logger-DiXdWaF-.cjs +2 -0
  17. package/dist/logger-DiXdWaF-.cjs.map +1 -0
  18. package/dist/namespace-helpers-BsKQl3aH.cjs +5 -0
  19. package/dist/namespace-helpers-BsKQl3aH.cjs.map +1 -0
  20. package/dist/namespace-helpers-Dw1mgQab.js +692 -0
  21. package/dist/namespace-helpers-Dw1mgQab.js.map +1 -0
  22. package/dist/runtime/logger.d.ts +6 -0
  23. package/dist/runtime/reactive.d.ts +10 -2
  24. package/package.json +1 -1
  25. package/dist/logger-BpibrmKL.js +0 -25
  26. package/dist/logger-BpibrmKL.js.map +0 -1
  27. package/dist/logger-CqdBMdui.cjs +0 -2
  28. package/dist/logger-CqdBMdui.cjs.map +0 -1
  29. package/dist/namespace-helpers-DwMMXN9Q.cjs +0 -5
  30. package/dist/namespace-helpers-DwMMXN9Q.cjs.map +0 -1
  31. package/dist/namespace-helpers-Vwt2Fzds.js +0 -651
  32. package/dist/namespace-helpers-Vwt2Fzds.js.map +0 -1
@@ -1,8 +1,9 @@
1
- import { g as U, t as J, i as M, s as Re, a as H, b as F, d as D, f as q, T as gt, h as Ze, S as bt, j as at, k as Xe, l as Ce, m as Qe, n as Et } from "./namespace-helpers-Vwt2Fzds.js";
2
- import { c as En, r as Sn, u as vn, w as _n } from "./namespace-helpers-Vwt2Fzds.js";
3
- import { d as W, a as Q } from "./logger-BpibrmKL.js";
4
- import { j as St, g as vt, a as $e, b as pe, m as ke, s as _t, c as et } from "./transitions-CZ21fzhh.js";
5
- import { d as kn } from "./transitions-CZ21fzhh.js";
1
+ import { g as U, t as J, i as j, s as Re, a as H, b as F, d as D, f as q, T as gt, h as Ze, S as bt, j as at, k as Xe, l as Ce, m as Qe, n as Et } from "./namespace-helpers-Dw1mgQab.js";
2
+ import { c as En, r as vn, u as Sn, w as _n } from "./namespace-helpers-Dw1mgQab.js";
3
+ import { d as W, a as Q } from "./logger-BuUYv7C_.js";
4
+ import { s as kn } from "./logger-BuUYv7C_.js";
5
+ import { j as vt, g as St, a as $e, b as pe, m as ke, s as _t, c as et } from "./transitions-CZ21fzhh.js";
6
+ import { d as wn } from "./transitions-CZ21fzhh.js";
6
7
  function Ct(e, n, t) {
7
8
  if (t)
8
9
  for (const [s, r] of Object.entries(t)) {
@@ -26,8 +27,8 @@ function kt(e, n, t, s) {
26
27
  if (typeof i != typeof c || typeof i != "object" || i === null || c === null) return !1;
27
28
  if (Array.isArray(i) && Array.isArray(c))
28
29
  return i.length !== c.length ? !1 : i.every((m, C) => r(m, c[C]));
29
- const f = i, u = c, S = Object.keys(f || {}), b = Object.keys(u || {});
30
- return S.length !== b.length ? !1 : S.every((m) => r(f[m], u[m]));
30
+ const f = i, u = c, v = Object.keys(f || {}), b = Object.keys(u || {});
31
+ return v.length !== b.length ? !1 : v.every((m) => r(f[m], u[m]));
31
32
  }, o = n.get(t);
32
33
  if (o && !r(s, o.oldValue))
33
34
  try {
@@ -96,9 +97,9 @@ function wt(e, n, t) {
96
97
  const f = J(o), u = e.getAttribute(f);
97
98
  if (u !== null)
98
99
  return u;
99
- const S = e[o];
100
+ const v = e[o];
100
101
  let b;
101
- return M(S) || S && typeof S == "object" && "value" in S && !(S instanceof Node) ? b = S.value : b = S, b;
102
+ return j(v) || v && typeof v == "object" && "value" in v && !(v instanceof Node) ? b = v.value : b = v, b;
102
103
  } catch {
103
104
  return e[o];
104
105
  }
@@ -253,11 +254,11 @@ class Ot {
253
254
  }
254
255
  const f = /\b([a-zA-Z_][a-zA-Z0-9_]*)\b/g;
255
256
  let u;
256
- const S = /* @__PURE__ */ new Set();
257
+ const v = /* @__PURE__ */ new Set();
257
258
  for (; (u = f.exec(s)) !== null; ) {
258
259
  const b = u[1];
259
- if (["true", "false", "null", "undefined"].includes(b) || /^[0-9]+$/.test(b) || b === "ctx" || S.has(b)) continue;
260
- S.add(b);
260
+ if (["true", "false", "null", "undefined"].includes(b) || /^[0-9]+$/.test(b) || b === "ctx" || v.has(b)) continue;
261
+ v.add(b);
261
262
  const m = U(t, b);
262
263
  if (m === void 0) return;
263
264
  const C = JSON.stringify(m), w = r.push(C) - 1;
@@ -323,7 +324,7 @@ class Ot {
323
324
  function u(d, k) {
324
325
  return c(d) - c(k);
325
326
  }
326
- function S(d, k) {
327
+ function v(d, k) {
327
328
  return c(d) * c(k);
328
329
  }
329
330
  function b(d, k) {
@@ -383,17 +384,17 @@ class Ot {
383
384
  return d;
384
385
  }
385
386
  function a() {
386
- let d = v();
387
+ let d = S();
387
388
  for (; ; ) {
388
389
  const k = r();
389
390
  if (!k || k.value !== "&&") break;
390
391
  o("OP");
391
- const l = v();
392
+ const l = S();
392
393
  d = d && l;
393
394
  }
394
395
  return d;
395
396
  }
396
- function v() {
397
+ function S() {
397
398
  let d = h();
398
399
  for (; ; ) {
399
400
  const k = r();
@@ -458,7 +459,7 @@ class Ot {
458
459
  const l = o("OP").value, g = _();
459
460
  switch (l) {
460
461
  case "*":
461
- d = S(d, g);
462
+ d = v(d, g);
462
463
  break;
463
464
  case "/":
464
465
  d = b(d, g);
@@ -674,7 +675,7 @@ function nt(e, n, t, s) {
674
675
  });
675
676
  }
676
677
  }
677
- function jt(e, n, t, s) {
678
+ function Mt(e, n, t, s) {
678
679
  if (e) {
679
680
  const r = n.value;
680
681
  return s && typeof r == "object" && r !== null ? r[s] : r;
@@ -699,7 +700,7 @@ function de(e, n) {
699
700
  t.length > 0 && e.classList.remove(...t);
700
701
  }
701
702
  let We = !1;
702
- async function Mt(e, n, t = 10) {
703
+ async function jt(e, n, t = 10) {
703
704
  if (!We) {
704
705
  if (!e.isConnected) {
705
706
  Q("⚠️ Element not connected to DOM, skipping style wait");
@@ -780,7 +781,7 @@ async function Ae(e, n) {
780
781
  await new Promise(
781
782
  (w) => requestAnimationFrame(() => w(void 0))
782
783
  ), e.offsetHeight;
783
- const S = window.getComputedStyle(e), b = S.transform, m = S.opacity;
784
+ const v = window.getComputedStyle(e), b = v.transform, m = v.opacity;
784
785
  de(e, i), b && b !== "none" && (e.style.transform = b), m && m !== "" && (e.style.opacity = m), e.offsetHeight, await new Promise(
785
786
  (w) => requestAnimationFrame(() => w(void 0))
786
787
  ), e.style.transform = "", e.style.opacity = "", ye(e, f), e.offsetHeight, await new Promise(
@@ -834,9 +835,9 @@ async function ze(e, n) {
834
835
  }
835
836
  await new Promise(
836
837
  (b) => requestAnimationFrame(() => b(void 0))
837
- ), await Mt(e, [...i, ...c]), de(e, i), ye(e, f);
838
- let S;
839
- if (typeof o == "number" ? S = o : o && typeof o == "object" && "leave" in o && (S = o.leave), await lt(e, S), de(e, c), de(e, f), de(e, i), s?.onAfterLeave)
838
+ ), await jt(e, [...i, ...c]), de(e, i), ye(e, f);
839
+ let v;
840
+ if (typeof o == "number" ? v = o : o && typeof o == "object" && "leave" in o && (v = o.leave), await lt(e, v), de(e, c), de(e, f), de(e, i), s?.onAfterLeave)
840
841
  try {
841
842
  s.onAfterLeave(e);
842
843
  } catch (b) {
@@ -901,7 +902,7 @@ function me(e) {
901
902
  }
902
903
  function Fe(e) {
903
904
  try {
904
- if (M(e)) return e.value;
905
+ if (j(e)) return e.value;
905
906
  } catch {
906
907
  }
907
908
  try {
@@ -920,7 +921,7 @@ function X(e) {
920
921
  return e instanceof HTMLInputElement || e instanceof HTMLSelectElement || e instanceof HTMLTextAreaElement || e instanceof HTMLButtonElement;
921
922
  }
922
923
  function ge(e) {
923
- return e === "" ? !0 : typeof e == "string" ? e === "false" ? !1 : e === "true" ? !0 : e !== "" : e && typeof e == "object" ? M(e) || "value" in e ? !!e.value : !1 : !!e;
924
+ return e === "" ? !0 : typeof e == "string" ? e === "false" ? !1 : e === "true" ? !0 : e !== "" : e && typeof e == "object" ? j(e) || "value" in e ? !!e.value : !1 : !!e;
924
925
  }
925
926
  function ue(e, n) {
926
927
  if (!n || !(e instanceof Element)) return;
@@ -936,7 +937,7 @@ function we(e, n, t) {
936
937
  const s = e.props?.reactiveRef ?? (e.props?.props && e.props.props.reactiveRef), r = e.props?.ref ?? (e.props?.props && e.props.props.ref);
937
938
  if (s)
938
939
  try {
939
- if (M(s) || typeof s == "object" && "value" in s)
940
+ if (j(s) || typeof s == "object" && "value" in s)
940
941
  s.value = n;
941
942
  else if (typeof s == "function")
942
943
  s(n);
@@ -957,8 +958,8 @@ function we(e, n, t) {
957
958
  }
958
959
  function It(e, n, t, s, r, o, i, c) {
959
960
  if (!o) return;
960
- const f = n.includes("lazy"), u = n.includes("trim"), S = n.includes("number"), b = () => {
961
- if (M(e)) {
961
+ const f = n.includes("lazy"), u = n.includes("trim"), v = n.includes("number"), b = () => {
962
+ if (j(e)) {
962
963
  const p = e.value;
963
964
  return c && i && (i instanceof HTMLInputElement || i instanceof HTMLTextAreaElement || i instanceof HTMLSelectElement) && typeof p == "object" && p !== null ? p[c] : p;
964
965
  }
@@ -990,14 +991,14 @@ function It(e, n, t, s, r, o, i, c) {
990
991
  } else
991
992
  t[a] = m;
992
993
  else {
993
- !w && M(e) ? t[a] = e : t[a] = m;
994
+ !w && j(e) ? t[a] = e : t[a] = m;
994
995
  try {
995
996
  const y = J(a);
996
997
  s && (s[y] = m);
997
998
  } catch {
998
999
  }
999
1000
  }
1000
- const v = f || C === "checkbox" || C === "radio" || C === "select" ? "change" : "input", h = (y) => {
1001
+ const S = f || C === "checkbox" || C === "radio" || C === "select" ? "change" : "input", h = (y) => {
1001
1002
  if (y.isComposing || r._isComposing)
1002
1003
  return;
1003
1004
  const p = globalThis.process, _ = !!p && p.env?.NODE_ENV === "test" || typeof window < "u" && globalThis.__vitest__;
@@ -1028,7 +1029,7 @@ function It(e, n, t, s, r, o, i, c) {
1028
1029
  T = Array.from(E.selectedOptions).map(
1029
1030
  (l) => l.value
1030
1031
  );
1031
- else if (u && typeof T == "string" && (T = T.trim()), S) {
1032
+ else if (u && typeof T == "string" && (T = T.trim()), v) {
1032
1033
  const l = Number(T);
1033
1034
  isNaN(l) || (T = l);
1034
1035
  }
@@ -1036,7 +1037,7 @@ function It(e, n, t, s, r, o, i, c) {
1036
1037
  if (He(T, d)) {
1037
1038
  E._modelUpdating = !0;
1038
1039
  try {
1039
- tt(M(e), e, T, o, c), xe(o, M(e), e, T), E && Pt(E, a, T);
1040
+ tt(j(e), e, T, o, c), xe(o, j(e), e, T), E && Pt(E, a, T);
1040
1041
  } finally {
1041
1042
  setTimeout(
1042
1043
  () => E._modelUpdating = !1,
@@ -1046,11 +1047,11 @@ function It(e, n, t, s, r, o, i, c) {
1046
1047
  }
1047
1048
  };
1048
1049
  if (w) {
1049
- if (r[v]) {
1050
- const y = r[v];
1051
- i && te.removeListener(i, v, y);
1050
+ if (r[S]) {
1051
+ const y = r[S];
1052
+ i && te.removeListener(i, S, y);
1052
1053
  }
1053
- r[v] = h;
1054
+ r[S] = h;
1054
1055
  } else {
1055
1056
  const y = `update:${J(a)}`, p = `update:${a}`;
1056
1057
  if (r[y]) {
@@ -1073,23 +1074,23 @@ function It(e, n, t, s, r, o, i, c) {
1073
1074
  T = void 0;
1074
1075
  }
1075
1076
  }
1076
- const d = jt(
1077
- M(e),
1077
+ const d = Mt(
1078
+ j(e),
1078
1079
  e,
1079
1080
  o,
1080
1081
  c
1081
1082
  );
1082
1083
  if (He(T, d)) {
1083
- tt(M(e), e, T, o, c), xe(o, M(e), e, T);
1084
+ tt(j(e), e, T, o, c), xe(o, j(e), e, T);
1084
1085
  const l = _.target;
1085
1086
  l && nt(
1086
1087
  l,
1087
1088
  a,
1088
- M(e) ? e : T,
1089
- M(e)
1089
+ j(e) ? e : T,
1090
+ j(e)
1090
1091
  );
1091
1092
  }
1092
- }, M(e) && typeof e.value == "object" && e.value !== null) {
1093
+ }, j(e) && typeof e.value == "object" && e.value !== null) {
1093
1094
  let _ = [];
1094
1095
  try {
1095
1096
  _ = Reflect.ownKeys(e.value);
@@ -1102,12 +1103,12 @@ function It(e, n, t, s, r, o, i, c) {
1102
1103
  for (const T of E) {
1103
1104
  const d = String(T), k = `update:${J(d)}`, l = `update:${d}`;
1104
1105
  r[k] || (r[k] = (g) => {
1105
- const A = g.detail !== void 0 ? g.detail : g.target?.value, N = M(e) ? e.value[d] : U(
1106
+ const A = g.detail !== void 0 ? g.detail : g.target?.value, N = j(e) ? e.value[d] : U(
1106
1107
  o?._state || o,
1107
1108
  e
1108
1109
  );
1109
1110
  if (!He(A, N)) return;
1110
- if (M(e)) {
1111
+ if (j(e)) {
1111
1112
  const R = {
1112
1113
  ...e.value
1113
1114
  };
@@ -1118,13 +1119,13 @@ function It(e, n, t, s, r, o, i, c) {
1118
1119
  e,
1119
1120
  A
1120
1121
  );
1121
- xe(o, M(e), e, A);
1122
- const j = g.currentTarget || i || g.target;
1123
- j && nt(
1124
- j,
1122
+ xe(o, j(e), e, A);
1123
+ const M = g.currentTarget || i || g.target;
1124
+ M && nt(
1125
+ M,
1125
1126
  a,
1126
- M(e) ? e : A,
1127
- M(e)
1127
+ j(e) ? e : A,
1128
+ j(e)
1128
1129
  );
1129
1130
  }, r[l] = r[k]);
1130
1131
  }
@@ -1137,14 +1138,14 @@ function It(e, n, t, s, r, o, i, c) {
1137
1138
  p && setTimeout(() => {
1138
1139
  const _ = p.value, E = o?._state || o, T = U(E, e);
1139
1140
  let d = _;
1140
- if (u && (d = d.trim()), S) {
1141
+ if (u && (d = d.trim()), v) {
1141
1142
  const l = Number(d);
1142
1143
  isNaN(l) || (d = l);
1143
1144
  }
1144
1145
  if (He(d, T)) {
1145
1146
  p._modelUpdating = !0;
1146
1147
  try {
1147
- Re(E, e, d), xe(o, M(e), e, d);
1148
+ Re(E, e, d), xe(o, j(e), e, d);
1148
1149
  } finally {
1149
1150
  setTimeout(
1150
1151
  () => p._modelUpdating = !1,
@@ -1168,7 +1169,7 @@ function Rt(e, n, t, s, r) {
1168
1169
  const c = i && typeof i == "object" && "value" in i;
1169
1170
  (() => {
1170
1171
  try {
1171
- return M(i);
1172
+ return j(i);
1172
1173
  } catch {
1173
1174
  return !1;
1174
1175
  }
@@ -1187,7 +1188,7 @@ function Rt(e, n, t, s, r) {
1187
1188
  const f = c && typeof c == "object" && "value" in c;
1188
1189
  (() => {
1189
1190
  try {
1190
- return M(c);
1191
+ return j(c);
1191
1192
  } catch {
1192
1193
  return !1;
1193
1194
  }
@@ -1245,7 +1246,7 @@ function Dt(e, n, t, s) {
1245
1246
  r = e;
1246
1247
  try {
1247
1248
  if (r && typeof r == "object") {
1248
- if (M(r))
1249
+ if (j(r))
1249
1250
  r = r.value;
1250
1251
  else if ("value" in r && typeof r.value < "u") {
1251
1252
  const u = r.value;
@@ -1260,8 +1261,8 @@ function Dt(e, n, t, s) {
1260
1261
  else if (Array.isArray(r))
1261
1262
  o = r.filter(Boolean);
1262
1263
  else if (typeof r == "object" && r !== null)
1263
- for (const [u, S] of Object.entries(r))
1264
- S && o.push(u);
1264
+ for (const [u, v] of Object.entries(r))
1265
+ v && o.push(u);
1265
1266
  const i = o.join(" "), c = s && s.class || n.class || "", f = c ? `${c} ${i}`.trim() : i.trim();
1266
1267
  f ? n.class = f : n.class = void 0;
1267
1268
  }
@@ -1295,7 +1296,7 @@ function Wt(e, n, t) {
1295
1296
  const u = c.replace(
1296
1297
  /[A-Z]/g,
1297
1298
  (m) => `-${m.toLowerCase()}`
1298
- ), S = [
1299
+ ), v = [
1299
1300
  "width",
1300
1301
  "height",
1301
1302
  "top",
@@ -1322,7 +1323,7 @@ function Wt(e, n, t) {
1322
1323
  "max-height"
1323
1324
  ];
1324
1325
  let b = String(f);
1325
- typeof f == "number" && S.includes(u) && (b = `${f}px`), i.push(`${u}: ${b}`);
1326
+ typeof f == "number" && v.includes(u) && (b = `${f}px`), i.push(`${u}: ${b}`);
1326
1327
  }
1327
1328
  r = i.join("; ") + (i.length > 0 ? ";" : "");
1328
1329
  }
@@ -1331,18 +1332,18 @@ function Wt(e, n, t) {
1331
1332
  }
1332
1333
  function zt(e, n, t) {
1333
1334
  let s = e;
1334
- typeof e == "string" && t && (s = Pe(e, t)), M(s) ? n.reactiveRef = s : n.ref = s;
1335
+ typeof e == "string" && t && (s = Pe(e, t)), j(s) ? n.reactiveRef = s : n.ref = s;
1335
1336
  }
1336
1337
  function dt(e, n, t, s) {
1337
1338
  const r = {}, o = { ...s || {} }, i = {};
1338
1339
  for (const [c, f] of Object.entries(e)) {
1339
- const { value: u, modifiers: S, arg: b } = f;
1340
+ const { value: u, modifiers: v, arg: b } = f;
1340
1341
  if (c === "model" || c.startsWith("model:")) {
1341
1342
  const m = c.split(":"), C = m.length > 1 ? m[1] : b;
1342
1343
  It(
1343
1344
  u,
1344
1345
  // Pass the original value (could be string or reactive state object)
1345
- S,
1346
+ v,
1346
1347
  r,
1347
1348
  o,
1348
1349
  i,
@@ -1373,13 +1374,13 @@ function dt(e, n, t, s) {
1373
1374
  try {
1374
1375
  if (Object.prototype.hasOwnProperty.call(r, "disabled") && t && X(t)) {
1375
1376
  const f = r.disabled, u = f && typeof f == "object" && "value" in f;
1376
- let S = !1;
1377
+ let v = !1;
1377
1378
  try {
1378
- S = M(f);
1379
+ v = j(f);
1379
1380
  } catch {
1380
- S = !1;
1381
+ v = !1;
1381
1382
  }
1382
- if (!u && !S)
1383
+ if (!u && !v)
1383
1384
  try {
1384
1385
  o.disabled = f, delete r.disabled;
1385
1386
  const b = globalThis;
@@ -1422,8 +1423,8 @@ function qe(e, n) {
1422
1423
  for (; o.has(f); )
1423
1424
  f = `${c}#${u++}`;
1424
1425
  o.add(f);
1425
- let S = i.children;
1426
- return Array.isArray(S) && (S = qe(S, f)), { ...i, key: f, children: S };
1426
+ let v = i.children;
1427
+ return Array.isArray(v) && (v = qe(v, f)), { ...i, key: f, children: v };
1427
1428
  });
1428
1429
  }
1429
1430
  const t = e, s = t.props?.key ?? t.key ?? n;
@@ -1444,16 +1445,16 @@ function rt(e, n, t, s) {
1444
1445
  ...n.attrs || {},
1445
1446
  ...o || {},
1446
1447
  ...i.attrs || {}
1447
- }, u = n.props ?? {}, S = c, b = !!(t?.isCustomElement ?? n?.isCustomElement ?? !1);
1448
+ }, u = n.props ?? {}, v = c, b = !!(t?.isCustomElement ?? n?.isCustomElement ?? !1);
1448
1449
  let m = !1;
1449
- for (const a in { ...u, ...S }) {
1450
- const v = u[a], h = S[a];
1451
- let y = v, p = h;
1450
+ for (const a in { ...u, ...v }) {
1451
+ const S = u[a], h = v[a];
1452
+ let y = S, p = h;
1452
1453
  if (H(() => {
1453
- (M(v) || me(v)) && (y = v.value);
1454
+ (j(S) || me(S)) && (y = S.value);
1454
1455
  }), H(() => {
1455
- (M(h) || me(h)) && (p = h.value);
1456
- }), !(v === h && y === p))
1456
+ (j(h) || me(h)) && (p = h.value);
1457
+ }), !(S === h && y === p))
1457
1458
  if (m = !0, a === "value" && (e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement)) {
1458
1459
  const _ = Fe(h), E = _ == null ? "" : String(_);
1459
1460
  e.value !== E && (e.value = E);
@@ -1462,13 +1463,13 @@ function rt(e, n, t, s) {
1462
1463
  e.checked = !!_;
1463
1464
  } else if (a.startsWith("on") && typeof h == "function") {
1464
1465
  const _ = pt(a);
1465
- typeof v == "function" && te.removeListener(e, _, v), typeof h == "function" && te.addListener(e, _, h);
1466
+ typeof S == "function" && te.removeListener(e, _, S), typeof h == "function" && te.addListener(e, _, h);
1466
1467
  try {
1467
1468
  if (_ && _.startsWith("update:")) {
1468
- const E = _.split(":", 2)[1], T = S[E];
1469
+ const E = _.split(":", 2)[1], T = v[E];
1469
1470
  let d = [];
1470
1471
  try {
1471
- if (M(T)) {
1472
+ if (j(T)) {
1472
1473
  const l = T.value;
1473
1474
  d = l && typeof l == "object" ? Object.keys(l) : [];
1474
1475
  } else T && typeof T == "object" && (d = Object.keys(T));
@@ -1480,7 +1481,7 @@ function rt(e, n, t, s) {
1480
1481
  );
1481
1482
  for (const l of k) {
1482
1483
  const g = `update:${l}`, A = (N) => {
1483
- const O = N.detail !== void 0 ? N.detail : N.target instanceof HTMLInputElement || N.target instanceof HTMLTextAreaElement || N.target instanceof HTMLSelectElement ? N.target.value : void 0, R = { ...M(T) ? T.value || {} : S[E] || {}, [l]: O };
1484
+ const O = N.detail !== void 0 ? N.detail : N.target instanceof HTMLInputElement || N.target instanceof HTMLTextAreaElement || N.target instanceof HTMLSelectElement ? N.target.value : void 0, R = { ...j(T) ? T.value || {} : v[E] || {}, [l]: O };
1484
1485
  try {
1485
1486
  typeof h == "function" && h({
1486
1487
  detail: R
@@ -1508,16 +1509,16 @@ function rt(e, n, t, s) {
1508
1509
  h === !1 && q(e, a);
1509
1510
  }
1510
1511
  }
1511
- for (const [a, v] of Object.entries(
1512
+ for (const [a, S] of Object.entries(
1512
1513
  i.listeners || {}
1513
1514
  )) {
1514
- te.addListener(e, a, v);
1515
+ te.addListener(e, a, S);
1515
1516
  try {
1516
1517
  const h = e && e.parentElement;
1517
1518
  h && h !== e && te.addListener(
1518
1519
  h,
1519
1520
  a,
1520
- v
1521
+ S
1521
1522
  );
1522
1523
  } catch {
1523
1524
  }
@@ -1553,9 +1554,9 @@ function rt(e, n, t, s) {
1553
1554
  } catch {
1554
1555
  }
1555
1556
  for (const a in { ...C, ...w }) {
1556
- const v = C[a], h = w[a];
1557
- let y = v, p = h;
1558
- if (M(v) && (y = v.value), M(h) && (p = h.value), y !== p)
1557
+ const S = C[a], h = w[a];
1558
+ let y = S, p = h;
1559
+ if (j(S) && (y = S.value), j(h) && (p = h.value), y !== p)
1559
1560
  if (m = !0, p == null || p === !1)
1560
1561
  H(() => {
1561
1562
  q(e, a);
@@ -1631,7 +1632,7 @@ function rt(e, n, t, s) {
1631
1632
  const E = Ze(a);
1632
1633
  try {
1633
1634
  const T = e;
1634
- T[E] = M(h) ? h : p, se(n, a, p);
1635
+ T[E] = j(h) ? h : p, se(n, a, p);
1635
1636
  } catch {
1636
1637
  const T = F(h ?? p);
1637
1638
  T !== null && D(e, a, String(T));
@@ -1640,7 +1641,7 @@ function rt(e, n, t, s) {
1640
1641
  else if (!_ && a in e)
1641
1642
  try {
1642
1643
  const E = e;
1643
- E[a] = M(h) ? h : p, se(n, a, p);
1644
+ E[a] = j(h) ? h : p, se(n, a, p);
1644
1645
  } catch {
1645
1646
  const E = F(p);
1646
1647
  E !== null && (D(e, a, String(E)), se(n, a, p));
@@ -1654,7 +1655,7 @@ function rt(e, n, t, s) {
1654
1655
  try {
1655
1656
  if (X(e)) {
1656
1657
  const a = c.disabled;
1657
- let v;
1658
+ let S;
1658
1659
  try {
1659
1660
  const y = Object.prototype.hasOwnProperty.call(
1660
1661
  i.props || {},
@@ -1662,14 +1663,14 @@ function rt(e, n, t, s) {
1662
1663
  ), p = a && typeof a == "object" && "value" in a;
1663
1664
  let _ = !1;
1664
1665
  H(() => {
1665
- _ = !!M(a);
1666
+ _ = !!j(a);
1666
1667
  });
1667
1668
  const E = Ve(a);
1668
- _ || p || y || E ? v = a : v = f.disabled;
1669
+ _ || p || y || E ? S = a : S = f.disabled;
1669
1670
  } catch {
1670
- v = f.disabled;
1671
+ S = f.disabled;
1671
1672
  }
1672
- const h = ge(v);
1673
+ const h = ge(S);
1673
1674
  H(() => {
1674
1675
  (e instanceof HTMLInputElement || e instanceof HTMLSelectElement || e instanceof HTMLTextAreaElement || e instanceof HTMLButtonElement) && (e.disabled = h);
1675
1676
  }), h ? H(() => {
@@ -1703,11 +1704,11 @@ function Z(e, n, t, s = null) {
1703
1704
  return document.createRange().createContextualFragment(a);
1704
1705
  }
1705
1706
  if (e.tag === "#anchor") {
1706
- const a = e, v = Array.isArray(a.children) ? a.children : [], h = document.createTextNode(""), y = document.createTextNode("");
1707
+ const a = e, S = Array.isArray(a.children) ? a.children : [], h = document.createTextNode(""), y = document.createTextNode("");
1707
1708
  a.key != null && (G(h, `${a.key}:start`), G(y, `${a.key}:end`)), a._startNode = h, a._endNode = y;
1708
1709
  const p = document.createDocumentFragment();
1709
1710
  p.appendChild(h);
1710
- for (const _ of v) {
1711
+ for (const _ of S) {
1711
1712
  const E = Z(
1712
1713
  _,
1713
1714
  n,
@@ -1728,8 +1729,8 @@ function Z(e, n, t, s = null) {
1728
1729
  c,
1729
1730
  e.props?._transitionGroup
1730
1731
  );
1731
- const { props: f = {}, attrs: u = {}, directives: S = {} } = e.props ?? {}, b = dt(
1732
- S,
1732
+ const { props: f = {}, attrs: u = {}, directives: v = {} } = e.props ?? {}, b = dt(
1733
+ v,
1733
1734
  n,
1734
1735
  c instanceof HTMLElement ? c : void 0,
1735
1736
  u
@@ -1741,23 +1742,23 @@ function Z(e, n, t, s = null) {
1741
1742
  ...b.attrs
1742
1743
  };
1743
1744
  try {
1744
- const a = (C && C.class) ?? (m && m.class) ?? (e.props && e.props.attrs && e.props.attrs.class) ?? (e.props && e.props.props && e.props.props.class), v = F(a);
1745
- if (v !== null) {
1746
- const h = String(v).trim();
1745
+ const a = (C && C.class) ?? (m && m.class) ?? (e.props && e.props.attrs && e.props.attrs.class) ?? (e.props && e.props.props && e.props.props.class), S = F(a);
1746
+ if (S !== null) {
1747
+ const h = String(S).trim();
1747
1748
  h && D(c, "class", h);
1748
1749
  }
1749
1750
  } catch {
1750
1751
  }
1751
1752
  try {
1752
1753
  if (m.disabled !== void 0 && c && X(c)) {
1753
- const a = m.disabled, v = a && typeof a == "object" && "value" in a;
1754
+ const a = m.disabled, S = a && typeof a == "object" && "value" in a;
1754
1755
  let h = !1;
1755
1756
  try {
1756
- h = M(a);
1757
+ h = j(a);
1757
1758
  } catch {
1758
1759
  h = !1;
1759
1760
  }
1760
- !v && !h && H(() => {
1761
+ !S && !h && H(() => {
1761
1762
  C.disabled = a, delete m.disabled;
1762
1763
  });
1763
1764
  }
@@ -1765,10 +1766,10 @@ function Z(e, n, t, s = null) {
1765
1766
  }
1766
1767
  const w = c.namespaceURI === "http://www.w3.org/2000/svg";
1767
1768
  for (const a in C) {
1768
- const v = C[a];
1769
+ const S = C[a];
1769
1770
  if (typeof a != "string" || /\[object Object\]/.test(a))
1770
1771
  continue;
1771
- const h = Fe(v);
1772
+ const h = Fe(S);
1772
1773
  if (typeof h == "boolean")
1773
1774
  h ? D(c, a, "") : H(() => {
1774
1775
  q(c, a);
@@ -1821,14 +1822,14 @@ function Z(e, n, t, s = null) {
1821
1822
  }
1822
1823
  }
1823
1824
  for (const a in m) {
1824
- const v = m[a];
1825
+ const S = m[a];
1825
1826
  if (!(typeof a != "string" || /\[object Object\]/.test(a)))
1826
1827
  if (a === "value" && (c instanceof HTMLInputElement || c instanceof HTMLTextAreaElement || c instanceof HTMLSelectElement)) {
1827
- const h = typeof v == "object" && v !== null && me(v) ? v.value : v;
1828
+ const h = typeof S == "object" && S !== null && me(S) ? S.value : S;
1828
1829
  H(() => {
1829
1830
  c.value = String(h ?? "");
1830
1831
  });
1831
- } else if (a.startsWith("on") && typeof v == "function") {
1832
+ } else if (a.startsWith("on") && typeof S == "function") {
1832
1833
  const h = pt(a), y = h.includes(":") ? (() => {
1833
1834
  const p = h.split(":"), _ = p[1];
1834
1835
  if (_.includes("-")) {
@@ -1841,14 +1842,14 @@ function Z(e, n, t, s = null) {
1841
1842
  return `${p[0]}:${E}`;
1842
1843
  }
1843
1844
  })() : h;
1844
- b.listeners && (b.listeners[h] || b.listeners[y]) || te.addListener(c, h, v);
1845
+ b.listeners && (b.listeners[h] || b.listeners[y]) || te.addListener(c, h, S);
1845
1846
  } else {
1846
- if (a.startsWith("on") && v === void 0)
1847
+ if (a.startsWith("on") && S === void 0)
1847
1848
  continue;
1848
- if (v == null || v === !1)
1849
+ if (S == null || S === !1)
1849
1850
  q(c, a);
1850
1851
  else {
1851
- const h = e.props?.isCustomElement ?? !1, y = typeof v == "object" && v !== null && M(v) ? v : me(v) && typeof v.value < "u" ? v.value : v;
1852
+ const h = e.props?.isCustomElement ?? !1, y = typeof S == "object" && S !== null && j(S) ? S : me(S) && typeof S.value < "u" ? S.value : S;
1852
1853
  if (a === "class" || a === "style") {
1853
1854
  try {
1854
1855
  const p = F(y);
@@ -1859,7 +1860,7 @@ function Z(e, n, t, s = null) {
1859
1860
  }
1860
1861
  if (h || a in c)
1861
1862
  try {
1862
- const p = typeof v == "object" && v !== null && M(v) ? v : me(v) ? v.value : v;
1863
+ const p = typeof S == "object" && S !== null && j(S) ? S : me(S) ? S.value : S;
1863
1864
  if (a === "disabled" && X(c)) {
1864
1865
  const _ = m.disabled !== void 0 ? m.disabled : p, E = ge(_);
1865
1866
  H(() => {
@@ -1885,10 +1886,10 @@ function Z(e, n, t, s = null) {
1885
1886
  }
1886
1887
  }
1887
1888
  }
1888
- for (const [a, v] of Object.entries(
1889
+ for (const [a, S] of Object.entries(
1889
1890
  b.listeners || {}
1890
1891
  ))
1891
- te.addListener(c, a, v);
1892
+ te.addListener(c, a, S);
1892
1893
  const L = {
1893
1894
  ...e,
1894
1895
  props: {
@@ -1909,8 +1910,8 @@ function Z(e, n, t, s = null) {
1909
1910
  }
1910
1911
  if (Array.isArray(e.children)) {
1911
1912
  const a = e.tag === "foreignObject" && i === bt ? null : c.namespaceURI ?? null;
1912
- for (const v of e.children)
1913
- c.appendChild(Z(v, n, t, a));
1913
+ for (const S of e.children)
1914
+ c.appendChild(Z(S, n, t, a));
1914
1915
  } else typeof e.children == "string" && (c.textContent = e.children);
1915
1916
  try {
1916
1917
  if (c instanceof HTMLSelectElement && C && Object.prototype.hasOwnProperty.call(C, "value"))
@@ -1922,14 +1923,14 @@ function Z(e, n, t, s = null) {
1922
1923
  }
1923
1924
  try {
1924
1925
  if (X(c)) {
1925
- const a = m.disabled, v = C.disabled, h = a && typeof a == "object" && "value" in a;
1926
+ const a = m.disabled, S = C.disabled, h = a && typeof a == "object" && "value" in a;
1926
1927
  let y = !1;
1927
1928
  try {
1928
- y = !!M(a);
1929
+ y = !!j(a);
1929
1930
  } catch {
1930
1931
  y = !1;
1931
1932
  }
1932
- const _ = y || h || Ve(a) ? a : v, E = ge(_);
1933
+ const _ = y || h || Ve(a) ? a : S, E = ge(_);
1933
1934
  H(() => {
1934
1935
  c.disabled = E;
1935
1936
  }), E ? H(() => {
@@ -1957,7 +1958,7 @@ function Kt(e, n, t, s, r) {
1957
1958
  if (typeof y == "string")
1958
1959
  return y.startsWith("each-") ? y.substring(5) : y;
1959
1960
  if (typeof y == "number") return String(y);
1960
- }, a = [], v = [];
1961
+ }, a = [], S = [];
1961
1962
  for (const y of t)
1962
1963
  if (y && y.tag === "#anchor") {
1963
1964
  const p = Array.isArray(y.children) ? y.children : [];
@@ -1975,15 +1976,15 @@ function Kt(e, n, t, s, r) {
1975
1976
  const E = L(
1976
1977
  _.key ?? y.key ?? "unknown"
1977
1978
  );
1978
- v.push({ ..._, key: E });
1979
+ S.push({ ..._, key: E });
1979
1980
  }
1980
- } else y && v.push({
1981
+ } else y && S.push({
1981
1982
  ...y,
1982
1983
  key: L(y.key)
1983
1984
  });
1984
- if (a.some((y) => y && y.key != null) || v.some((y) => y && y.key != null)) {
1985
+ if (a.some((y) => y && y.key != null) || S.some((y) => y && y.key != null)) {
1985
1986
  const y = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map();
1986
- for (const l of v)
1987
+ for (const l of S)
1987
1988
  if (l && l.key != null) {
1988
1989
  const g = String(l.key);
1989
1990
  y.set(g, l);
@@ -2015,8 +2016,8 @@ function Kt(e, n, t, s, r) {
2015
2016
  if (N && A) {
2016
2017
  const O = Te(N, A, l, s);
2017
2018
  _.add(N);
2018
- const j = String(g);
2019
- G(O, j), d.push({
2019
+ const M = String(g);
2020
+ G(O, M), d.push({
2020
2021
  node: O,
2021
2022
  key: g,
2022
2023
  newVNode: l,
@@ -2031,8 +2032,8 @@ function Kt(e, n, t, s, r) {
2031
2032
  e instanceof Element ? e.namespaceURI ?? null : null
2032
2033
  ), G(N, String(g)), e.appendChild(N);
2033
2034
  const O = T || f.appear === !0;
2034
- N instanceof HTMLElement && O && Ae(N, f).catch((j) => {
2035
- W("Enter transition error:", j);
2035
+ N instanceof HTMLElement && O && Ae(N, f).catch((M) => {
2036
+ W("Enter transition error:", M);
2036
2037
  }), d.push({ node: N, key: g, newVNode: l, isNew: !0 });
2037
2038
  }
2038
2039
  }
@@ -2042,8 +2043,8 @@ function Kt(e, n, t, s, r) {
2042
2043
  if (!_.has(g) && A != null && g instanceof HTMLElement) {
2043
2044
  const O = ze(g, f).then(() => {
2044
2045
  e.contains(g) && e.removeChild(g);
2045
- }).catch((j) => {
2046
- W("Leave transition error:", j), e.contains(g) && e.removeChild(g);
2046
+ }).catch((M) => {
2047
+ W("Leave transition error:", M), e.contains(g) && e.removeChild(g);
2047
2048
  });
2048
2049
  k.push(O);
2049
2050
  }
@@ -2058,7 +2059,7 @@ function Kt(e, n, t, s, r) {
2058
2059
  if (!N && A instanceof HTMLElement) {
2059
2060
  const O = E.get(A);
2060
2061
  if (O) {
2061
- const j = A.getBoundingClientRect(), R = O.left - j.left, P = O.top - j.top;
2062
+ const M = A.getBoundingClientRect(), R = O.left - M.left, P = O.top - M.top;
2062
2063
  if (R !== 0 || P !== 0) {
2063
2064
  const K = f.moveClass.split(/\s+/).filter((I) => I);
2064
2065
  g.push({ node: A, deltaX: R, deltaY: P, moveClasses: K });
@@ -2074,9 +2075,9 @@ function Kt(e, n, t, s, r) {
2074
2075
  for (const O of N)
2075
2076
  A.classList.add(O);
2076
2077
  requestAnimationFrame(() => {
2077
- const A = f.moveClass || "", N = A.match(/duration-(\d+)/), O = N ? `${N[1]}ms` : "300ms", j = A.match(
2078
+ const A = f.moveClass || "", N = A.match(/duration-(\d+)/), O = N ? `${N[1]}ms` : "300ms", M = A.match(
2078
2079
  /ease-(out|in|in-out|linear)/
2079
- ), R = j ? `ease-${j[1]}` : "ease-out";
2080
+ ), R = M ? `ease-${M[1]}` : "ease-out";
2080
2081
  for (const { node: P } of g)
2081
2082
  P.style.transition = `transform ${O} ${R}`;
2082
2083
  requestAnimationFrame(() => {
@@ -2106,62 +2107,62 @@ function Kt(e, n, t, s, r) {
2106
2107
  const u = /* @__PURE__ */ new Map();
2107
2108
  for (const L of c)
2108
2109
  L && L.key != null && u.set(L.key, L);
2109
- const S = /* @__PURE__ */ new Map();
2110
+ const v = /* @__PURE__ */ new Map();
2110
2111
  for (let L = 0; L < i.length; L++) {
2111
- const a = i[L], v = Ie(a);
2112
- v != null && S.set(v, a);
2112
+ const a = i[L], S = Ie(a);
2113
+ S != null && v.set(S, a);
2113
2114
  }
2114
2115
  const b = /* @__PURE__ */ new Set();
2115
2116
  let m = e.firstChild;
2116
2117
  function C(L, a) {
2117
- let v = L;
2118
- for (; v && (b.add(v), v !== a); )
2119
- v = v.nextSibling;
2118
+ let S = L;
2119
+ for (; S && (b.add(S), S !== a); )
2120
+ S = S.nextSibling;
2120
2121
  }
2121
- function w(L, a, v, h, y, p = !0) {
2122
+ function w(L, a, S, h, y, p = !0) {
2122
2123
  const _ = [];
2123
2124
  let E = L.nextSibling;
2124
2125
  for (; E && E !== a; )
2125
2126
  _.push(E), E = E.nextSibling;
2126
- const T = Array.isArray(v) ? v : [];
2127
+ const T = Array.isArray(S) ? S : [];
2127
2128
  if (h.some((k) => k && k.key != null) || T.some((k) => k && k.key != null)) {
2128
2129
  const k = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map();
2129
2130
  for (const O of T)
2130
2131
  O && O.key != null && k.set(O.key, O);
2131
2132
  for (const O of _) {
2132
- const j = Ie(O);
2133
- j != null && l.set(j, O);
2133
+ const M = Ie(O);
2134
+ M != null && l.set(M, O);
2134
2135
  }
2135
2136
  const g = y && y.state === "visible" && T.length === 0 && h.length > 0, A = /* @__PURE__ */ new Set();
2136
2137
  let N = L.nextSibling;
2137
2138
  for (const O of h) {
2138
- let j;
2139
+ let M;
2139
2140
  if (O.key != null && l.has(O.key)) {
2140
2141
  const R = k.get(O.key);
2141
- j = Te(
2142
+ M = Te(
2142
2143
  l.get(O.key),
2143
2144
  R,
2144
2145
  O,
2145
2146
  s
2146
- ), A.add(j), y && j instanceof HTMLElement && g && y.appear && Ae(j, y).catch((P) => {
2147
+ ), A.add(M), y && M instanceof HTMLElement && g && y.appear && Ae(M, y).catch((P) => {
2147
2148
  W("Transition enter error (appear):", P);
2148
- }), j !== N && e.contains(j) && e.insertBefore(j, N);
2149
+ }), M !== N && e.contains(M) && e.insertBefore(M, N);
2149
2150
  } else
2150
- j = Z(
2151
+ M = Z(
2151
2152
  O,
2152
2153
  s,
2153
2154
  void 0,
2154
2155
  e instanceof Element ? e.namespaceURI ?? null : null
2155
- ), e.insertBefore(j, N), A.add(j), y && j instanceof HTMLElement && p && Ae(j, y).catch((R) => {
2156
+ ), e.insertBefore(M, N), A.add(M), y && M instanceof HTMLElement && p && Ae(M, y).catch((R) => {
2156
2157
  W("Transition enter error:", R);
2157
2158
  });
2158
- N = j.nextSibling;
2159
+ N = M.nextSibling;
2159
2160
  }
2160
2161
  for (const O of _)
2161
2162
  !A.has(O) && e.contains(O) && (y && O instanceof HTMLElement && p ? ze(O, y).then(() => {
2162
2163
  e.contains(O) && e.removeChild(O);
2163
- }).catch((j) => {
2164
- W("Transition leave error:", j), e.contains(O) && e.removeChild(O);
2164
+ }).catch((M) => {
2165
+ W("Transition leave error:", M), e.contains(O) && e.removeChild(O);
2165
2166
  }) : e.removeChild(O));
2166
2167
  } else {
2167
2168
  const k = Math.min(
@@ -2196,8 +2197,8 @@ function Kt(e, n, t, s, r) {
2196
2197
  for (const L of t) {
2197
2198
  let a;
2198
2199
  if (L.tag === "#anchor") {
2199
- const v = L.key, h = `${v}:start`, y = `${v}:end`;
2200
- let p = S.get(h), _ = S.get(y);
2200
+ const S = L.key, h = `${S}:start`, y = `${S}:end`;
2201
+ let p = v.get(h), _ = v.get(y);
2201
2202
  const E = Array.isArray(L.children) ? L.children : [];
2202
2203
  if (p || (p = document.createTextNode(""), G(p, h)), _ || (_ = document.createTextNode(""), G(_, y)), L._startNode = p, L._endNode = _, !e.contains(p) || !e.contains(_)) {
2203
2204
  e.insertBefore(p, m);
@@ -2215,11 +2216,11 @@ function Kt(e, n, t, s, r) {
2215
2216
  }
2216
2217
  e.insertBefore(_, m);
2217
2218
  } else {
2218
- const T = L._transition, k = u.get(v)._transition, l = k && k.state !== T?.state, g = T && T.state === "visible" && E.length > 0 && !l, A = l || !g || T?.appear === !0;
2219
+ const T = L._transition, k = u.get(S)._transition, l = k && k.state !== T?.state, g = T && T.state === "visible" && E.length > 0 && !l, A = l || !g || T?.appear === !0;
2219
2220
  w(
2220
2221
  p,
2221
2222
  _,
2222
- u.get(v)?.children,
2223
+ u.get(S)?.children,
2223
2224
  E,
2224
2225
  T,
2225
2226
  A
@@ -2228,11 +2229,11 @@ function Kt(e, n, t, s, r) {
2228
2229
  C(p, _), m = _.nextSibling;
2229
2230
  continue;
2230
2231
  }
2231
- if (L.key != null && S.has(L.key)) {
2232
- const v = u.get(L.key);
2232
+ if (L.key != null && v.has(L.key)) {
2233
+ const S = u.get(L.key);
2233
2234
  a = Te(
2234
- S.get(L.key),
2235
- v,
2235
+ v.get(L.key),
2236
+ S,
2236
2237
  L,
2237
2238
  s,
2238
2239
  r
@@ -2264,8 +2265,8 @@ function Te(e, n, t, s, r) {
2264
2265
  if (t && typeof t != "string" && t.tag === "#anchor") {
2265
2266
  const i = t, c = Array.isArray(i.children) ? i.children : [], f = i._startNode ?? document.createTextNode(""), u = i._endNode ?? document.createTextNode("");
2266
2267
  i.key != null && (G(f, `${i.key}:start`), G(u, `${i.key}:end`)), i._startNode = f, i._endNode = u;
2267
- const S = document.createDocumentFragment();
2268
- S.appendChild(f);
2268
+ const v = document.createDocumentFragment();
2269
+ v.appendChild(f);
2269
2270
  for (const b of c) {
2270
2271
  const m = Z(
2271
2272
  b,
@@ -2273,9 +2274,9 @@ function Te(e, n, t, s, r) {
2273
2274
  r,
2274
2275
  e.parentNode instanceof Element ? e.parentNode.namespaceURI ?? null : null
2275
2276
  );
2276
- S.appendChild(m);
2277
+ v.appendChild(m);
2277
2278
  }
2278
- return S.appendChild(u), e.parentNode?.replaceChild(S, e), f;
2279
+ return v.appendChild(u), e.parentNode?.replaceChild(v, e), f;
2279
2280
  }
2280
2281
  if (!t) {
2281
2282
  ue(e, r);
@@ -2297,10 +2298,10 @@ function Te(e, n, t, s, r) {
2297
2298
  t.key != null && (G(c, `${t.key}:start`), G(f, `${t.key}:end`)), t._startNode = c, t._endNode = f;
2298
2299
  const u = document.createDocumentFragment();
2299
2300
  u.appendChild(c);
2300
- for (const S of i)
2301
+ for (const v of i)
2301
2302
  u.appendChild(
2302
2303
  Z(
2303
- S,
2304
+ v,
2304
2305
  s,
2305
2306
  r,
2306
2307
  e.parentNode instanceof Element ? e.parentNode.namespaceURI ?? null : null
@@ -2352,8 +2353,8 @@ function Ut(e, n, t, s) {
2352
2353
  ), e.firstChild ? e.replaceChild(c, e.firstChild) : e.appendChild(c));
2353
2354
  const f = [];
2354
2355
  for (let u = 0; u < e.childNodes.length; u++) {
2355
- const S = e.childNodes[u];
2356
- S !== c && S.nodeName !== "STYLE" && (ue(S, s), f.push(S));
2356
+ const v = e.childNodes[u];
2357
+ v !== c && v.nodeName !== "STYLE" && (ue(v, s), f.push(v));
2357
2358
  }
2358
2359
  f.forEach((u) => e.removeChild(u)), e._prevVNode = r, e._prevDom = c;
2359
2360
  }
@@ -2452,7 +2453,7 @@ function Zt(e, n, t, s, r) {
2452
2453
  if (st.get(e) === o)
2453
2454
  return;
2454
2455
  st.set(e, o);
2455
- const c = St(o), f = vt();
2456
+ const c = vt(o), f = St();
2456
2457
  if ((!c || c.trim() === "") && !n._computedStyle && !f) {
2457
2458
  if (r(null), "adoptedStyleSheets" in e && typeof CSSStyleSheet < "u") {
2458
2459
  const y = [$e(), pe()];
@@ -2486,15 +2487,15 @@ ${_}`);
2486
2487
  }
2487
2488
  let u = "";
2488
2489
  n._computedStyle && (u = n._computedStyle ?? "");
2489
- let S = _t(`${u}
2490
+ let v = _t(`${u}
2490
2491
  ${c}
2491
2492
  `);
2492
- S = ke(S);
2493
+ v = ke(v);
2493
2494
  let b = s;
2494
2495
  if ("adoptedStyleSheets" in e && typeof CSSStyleSheet < "u") {
2495
2496
  b || (b = new CSSStyleSheet());
2496
2497
  try {
2497
- b.replaceSync(S);
2498
+ b.replaceSync(v);
2498
2499
  } catch {
2499
2500
  b = null;
2500
2501
  }
@@ -2514,13 +2515,13 @@ ${c}
2514
2515
  }
2515
2516
  const a = ke(`${C}
2516
2517
  ${L}
2517
- ${S}`);
2518
- let v = e.querySelector(
2518
+ ${v}`);
2519
+ let S = e.querySelector(
2519
2520
  "style[data-cer-runtime]"
2520
2521
  );
2521
- v || (v = document.createElement("style"), D(v, "data-cer-runtime", "true"), e.appendChild(v));
2522
+ S || (S = document.createElement("style"), D(S, "data-cer-runtime", "true"), e.appendChild(S));
2522
2523
  try {
2523
- v.textContent = a;
2524
+ S.textContent = a;
2524
2525
  } catch {
2525
2526
  }
2526
2527
  try {
@@ -2532,7 +2533,7 @@ ${S}`);
2532
2533
  try {
2533
2534
  const y = new CSSStyleSheet();
2534
2535
  try {
2535
- y.replaceSync(S), h.push(y);
2536
+ y.replaceSync(v), h.push(y);
2536
2537
  } catch {
2537
2538
  h.push({ cssRules: [], replaceSync: () => {
2538
2539
  } });
@@ -2622,14 +2623,14 @@ function dn(e) {
2622
2623
  try {
2623
2624
  const u = t && t._host;
2624
2625
  if (u) {
2625
- const S = J(o), b = u.getAttribute(S);
2626
+ const v = J(o), b = u.getAttribute(v);
2626
2627
  if (b !== null) {
2627
2628
  const m = typeof e[o];
2628
2629
  return m === "boolean" ? b === "" || b === "true" : m === "number" ? Number(b) : b;
2629
2630
  }
2630
2631
  if (typeof u[o] < "u") {
2631
2632
  const m = u[o];
2632
- if (M(m) || m && typeof m == "object" && "value" in m && !(m instanceof Node))
2633
+ if (j(m) || m && typeof m == "object" && "value" in m && !(m instanceof Node))
2633
2634
  return m.value;
2634
2635
  const C = typeof e[o];
2635
2636
  if (!(C === "string" && m && typeof m == "object"))
@@ -2657,21 +2658,21 @@ function dn(e) {
2657
2658
  const f = t && t._host;
2658
2659
  if (f) {
2659
2660
  if (f instanceof HTMLElement || typeof f.getAttribute == "function" && typeof f.hasAttribute == "function") {
2660
- const S = o.replace(/([A-Z])/g, "-$1").toLowerCase(), b = f.getAttribute(S);
2661
+ const v = o.replace(/([A-Z])/g, "-$1").toLowerCase(), b = f.getAttribute(v);
2661
2662
  if (b !== null)
2662
2663
  return typeof i == "boolean" ? b === "" || b === "true" : typeof i == "number" ? Number(b) : b;
2663
2664
  }
2664
2665
  const u = f[o];
2665
2666
  if (typeof u < "u" && u !== "") {
2666
- const S = u && typeof u == "object" && "value" in u && !(u instanceof Node);
2667
- if (!(typeof i == "string" && u && typeof u == "object" && !S && !M(u)))
2668
- return typeof i == "boolean" && i === !1 && u === "" ? i : M(u) || S ? u.value : typeof i == "boolean" && typeof u == "string" ? u === "true" || u !== "" && u !== "false" : typeof i == "number" && typeof u == "string" && !Number.isNaN(Number(u)) ? Number(u) : u;
2667
+ const v = u && typeof u == "object" && "value" in u && !(u instanceof Node);
2668
+ if (!(typeof i == "string" && u && typeof u == "object" && !v && !j(u)))
2669
+ return typeof i == "boolean" && i === !1 && u === "" ? i : j(u) || v ? u.value : typeof i == "boolean" && typeof u == "string" ? u === "true" || u !== "" && u !== "false" : typeof i == "number" && typeof u == "string" && !Number.isNaN(Number(u)) ? Number(u) : u;
2669
2670
  }
2670
2671
  }
2671
2672
  } catch {
2672
2673
  }
2673
2674
  const c = t[o];
2674
- return typeof i == "boolean" && c === "" ? i === !1 ? i : !0 : M(c) || c && typeof c == "object" && "value" in c && !(c instanceof Node) ? c.value : c != null && c !== "" ? typeof i == "boolean" && typeof c == "string" ? c === "true" : typeof i == "number" && typeof c == "string" && !Number.isNaN(Number(c)) ? Number(c) : c : i;
2675
+ return typeof i == "boolean" && c === "" ? i === !1 ? i : !0 : j(c) || c && typeof c == "object" && "value" in c && !(c instanceof Node) ? c.value : c != null && c !== "" ? typeof i == "boolean" && typeof c == "string" ? c === "true" : typeof i == "number" && typeof c == "string" && !Number.isNaN(Number(c)) ? Number(c) : c : i;
2675
2676
  },
2676
2677
  has(r, o) {
2677
2678
  return typeof o == "string" && (o in t || o in e);
@@ -2791,9 +2792,9 @@ function Yt(e, n) {
2791
2792
  ...c || {}
2792
2793
  }, u = new CustomEvent(o, f);
2793
2794
  this.dispatchEvent(u);
2794
- const S = o.indexOf(":");
2795
- if (S > 0) {
2796
- const b = o.substring(0, S), m = o.substring(S + 1), C = m.includes("-") ? `${b}:${m.split("-").map(
2795
+ const v = o.indexOf(":");
2796
+ if (v > 0) {
2797
+ const b = o.substring(0, v), m = o.substring(v + 1), C = m.includes("-") ? `${b}:${m.split("-").map(
2797
2798
  (w, L) => L === 0 ? w : w.charAt(0).toUpperCase() + w.slice(1)
2798
2799
  ).join("")}` : `${b}:${m.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase()}`;
2799
2800
  C !== o && H(() => {
@@ -2957,8 +2958,8 @@ function Yt(e, n) {
2957
2958
  if (Array.isArray(o))
2958
2959
  return new Proxy(o, {
2959
2960
  get(c, f, u) {
2960
- const S = Reflect.get(c, f, u);
2961
- return typeof S == "function" && typeof f == "string" && [
2961
+ const v = Reflect.get(c, f, u);
2962
+ return typeof v == "function" && typeof f == "string" && [
2962
2963
  "push",
2963
2964
  "pop",
2964
2965
  "shift",
@@ -2967,7 +2968,7 @@ function Yt(e, n) {
2967
2968
  "sort",
2968
2969
  "reverse"
2969
2970
  ].includes(f) ? function(...m) {
2970
- const C = S.apply(c, m);
2971
+ const C = v.apply(c, m);
2971
2972
  if (!r._initializing) {
2972
2973
  const w = i || "root";
2973
2974
  r._triggerWatchers(w, c), Ce(
@@ -2976,12 +2977,12 @@ function Yt(e, n) {
2976
2977
  );
2977
2978
  }
2978
2979
  return C;
2979
- } : S;
2980
+ } : v;
2980
2981
  },
2981
2982
  set(c, f, u) {
2982
2983
  if (c[String(f)] = u, !r._initializing) {
2983
- const S = i ? `${i}.${String(f)}` : String(f);
2984
- r._triggerWatchers(S, u), Ce(() => r._render(t), r._componentId);
2984
+ const v = i ? `${i}.${String(f)}` : String(f);
2985
+ r._triggerWatchers(v, u), Ce(() => r._render(t), r._componentId);
2985
2986
  }
2986
2987
  return !0;
2987
2988
  },
@@ -2994,7 +2995,7 @@ function Yt(e, n) {
2994
2995
  }
2995
2996
  });
2996
2997
  if (o && typeof o == "object") {
2997
- if (M(o))
2998
+ if (j(o))
2998
2999
  return o;
2999
3000
  for (const c in o) {
3000
3001
  const f = i ? `${i}.${c}` : c;
@@ -3002,9 +3003,9 @@ function Yt(e, n) {
3002
3003
  }
3003
3004
  return new Proxy(o, {
3004
3005
  set(c, f, u) {
3005
- const S = i ? `${i}.${String(f)}` : String(f);
3006
- return c[String(f)] = s(u, S), r._initializing || (r._triggerWatchers(
3007
- S,
3006
+ const v = i ? `${i}.${String(f)}` : String(f);
3007
+ return c[String(f)] = s(u, v), r._initializing || (r._triggerWatchers(
3008
+ v,
3008
3009
  c[String(f)]
3009
3010
  ), Ce(() => r._render(t), r._componentId)), !0;
3010
3011
  },
@@ -3102,10 +3103,10 @@ function yn(e, n) {
3102
3103
  f = n();
3103
3104
  } catch (u) {
3104
3105
  try {
3105
- const S = i._hookCallbacks;
3106
- if (S && typeof S.onError == "function")
3106
+ const v = i._hookCallbacks;
3107
+ if (v && typeof v.onError == "function")
3107
3108
  try {
3108
- S.onError(u);
3109
+ v.onError(u);
3109
3110
  } catch {
3110
3111
  }
3111
3112
  } catch {
@@ -3114,10 +3115,10 @@ function yn(e, n) {
3114
3115
  }
3115
3116
  if (i._hookCallbacks) {
3116
3117
  const u = i._hookCallbacks;
3117
- if (u.onConnected && (s.onConnected = u.onConnected), u.onDisconnected && (s.onDisconnected = u.onDisconnected), u.onAttributeChanged && (s.onAttributeChanged = u.onAttributeChanged), u.onError && (s.onError = u.onError), u.style && (i._styleCallback = u.style), u.props) {
3118
- const S = u.props;
3118
+ if (u.onConnected && (s.onConnected = u.onConnected), u.onDisconnected && (s.onDisconnected = u.onDisconnected), u.onAttributeChanged && (s.onAttributeChanged = u.onAttributeChanged), u.onError && (s.onError = u.onError), u.props) {
3119
+ const v = u.props;
3119
3120
  r.props = Object.fromEntries(
3120
- Object.entries(S).map(([b, m]) => [
3121
+ Object.entries(v).map(([b, m]) => [
3121
3122
  b,
3122
3123
  { type: typeof m == "boolean" ? Boolean : typeof m == "number" ? Number : typeof m == "string" ? String : Function, default: m }
3123
3124
  ])
@@ -3235,7 +3236,7 @@ function tn(e, n = [], t = {}) {
3235
3236
  const s = {}, r = {}, o = {}, i = [], c = /([:@#]?)([a-zA-Z0-9-:.]+)(?:\s*=\s*("([^"\\]*(\\.[^"\\]*)*)"|'([^'\\]*(\\.[^'\\]*)*)'|([^\s>]+)))?/g;
3236
3237
  let f;
3237
3238
  for (; f = c.exec(e); ) {
3238
- const u = f[1], S = f[2];
3239
+ const u = f[1], v = f[2];
3239
3240
  let b = "";
3240
3241
  for (let a = 3; a < f.length; a++)
3241
3242
  if (f[a] !== void 0) {
@@ -3256,31 +3257,31 @@ function tn(e, n = [], t = {}) {
3256
3257
  "when"
3257
3258
  ];
3258
3259
  if (u === ":") {
3259
- const [a, v] = S.split(":"), [h, ...y] = a.split(".");
3260
+ const [a, S] = v.split(":"), [h, ...y] = a.split(".");
3260
3261
  if (L.includes(h)) {
3261
- const p = [...y], _ = h === "model" && v ? `model:${v}` : h;
3262
+ const p = [...y], _ = h === "model" && S ? `model:${S}` : h;
3262
3263
  o[_] = {
3263
3264
  value: w,
3264
3265
  modifiers: p,
3265
- arg: v
3266
+ arg: S
3266
3267
  };
3267
- } else if (S === "disabled") {
3268
+ } else if (v === "disabled") {
3268
3269
  let p = w;
3269
- p && M(p) && (p = p.value);
3270
+ p && j(p) && (p = p.value);
3270
3271
  const _ = typeof p;
3271
3272
  if (p === "" || _ === "boolean" || _ === "string" && (p === "true" || p === "false") || p == null || _ === "number")
3272
- s[S] = p;
3273
+ s[v] = p;
3273
3274
  else {
3274
3275
  let d = w;
3275
- d && M(d) && (d = d.value), r[S] = d;
3276
+ d && j(d) && (d = d.value), r[v] = d;
3276
3277
  }
3277
- i.push(S);
3278
+ i.push(v);
3278
3279
  } else {
3279
3280
  let p = w;
3280
- p && M(p) && (p = p.value), r[S] = p, i.push(S);
3281
+ p && j(p) && (p = p.value), r[v] = p, i.push(v);
3281
3282
  }
3282
3283
  } else if (u === "@") {
3283
- const [a, ...v] = S.split("."), h = v;
3284
+ const [a, ...S] = v.split("."), h = S;
3284
3285
  Qt(w, a);
3285
3286
  const y = typeof w == "function" ? w : typeof t[w] == "function" ? t[w] : void 0;
3286
3287
  if (y) {
@@ -3293,7 +3294,7 @@ function tn(e, n = [], t = {}) {
3293
3294
  }, _ = "on" + a.charAt(0).toUpperCase() + a.slice(1);
3294
3295
  s[_] = p;
3295
3296
  }
3296
- } else S === "ref" ? s.ref = w : r[S] = w;
3297
+ } else v === "ref" ? s.ref = w : r[v] = w;
3297
3298
  }
3298
3299
  return { props: s, attrs: r, directives: o, bound: i };
3299
3300
  }
@@ -3302,7 +3303,7 @@ function Ge(e) {
3302
3303
  return e;
3303
3304
  const n = e.props?.directives;
3304
3305
  if (n && n.when) {
3305
- const t = n.when.value, s = M(t) ? t.value : t, r = { ...n };
3306
+ const t = n.when.value, s = j(t) ? t.value : t, r = { ...n };
3306
3307
  delete r.when;
3307
3308
  const o = { ...e.props };
3308
3309
  Object.keys(r).length > 0 ? o.directives = r : delete o.directives;
@@ -3345,8 +3346,8 @@ function nn(e, n, t) {
3345
3346
  let u = "";
3346
3347
  for (let l = 0; l < e.length; l++)
3347
3348
  u += e[l], l < n.length && (u += `{{${l}}}`);
3348
- const S = /<!--[\s\S]*?-->|<\/?([a-zA-Z0-9-]+)((?:\s+[^\s=>/]+(?:\s*=\s*(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|[^\s>]+))?)*)\s*\/?>|{{(\d+)}}|([^<]+)/g, b = [];
3349
- let m, C = [], w = null, L = {}, a, v = 0;
3349
+ const v = /<!--[\s\S]*?-->|<\/?([a-zA-Z0-9-]+)((?:\s+[^\s=>/]+(?:\s*=\s*(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|[^\s>]+))?)*)\s*\/?>|{{(\d+)}}|([^<]+)/g, b = [];
3350
+ let m, C = [], w = null, L = {}, a, S = 0;
3350
3351
  const h = [], y = /* @__PURE__ */ new Set([
3351
3352
  "pre",
3352
3353
  "code",
@@ -3369,11 +3370,11 @@ function nn(e, n, t) {
3369
3370
  const N = g;
3370
3371
  N.props && (A.props || (A.props = {}), Object.assign(A.props, N.props)), N.attrs && (A.attrs || (A.attrs = {}), Object.keys(N.attrs).forEach((O) => {
3371
3372
  if (O === "style" && A.attrs.style) {
3372
- const j = String(A.attrs.style).replace(/;?\s*$/, ""), R = String(N.attrs.style).replace(/^;?\s*/, "");
3373
- A.attrs.style = j + "; " + R;
3373
+ const M = String(A.attrs.style).replace(/;?\s*$/, ""), R = String(N.attrs.style).replace(/^;?\s*/, "");
3374
+ A.attrs.style = M + "; " + R;
3374
3375
  } else if (O === "class" && A.attrs.class) {
3375
- const j = String(A.attrs.class).trim().split(/\s+/).filter(Boolean), R = String(N.attrs.class).trim().split(/\s+/).filter(Boolean), P = [
3376
- .../* @__PURE__ */ new Set([...j, ...R])
3376
+ const M = String(A.attrs.class).trim().split(/\s+/).filter(Boolean), R = String(N.attrs.class).trim().split(/\s+/).filter(Boolean), P = [
3377
+ .../* @__PURE__ */ new Set([...M, ...R])
3377
3378
  ];
3378
3379
  A.attrs.class = P.join(" ");
3379
3380
  } else
@@ -3439,13 +3440,13 @@ function nn(e, n, t) {
3439
3440
  "track",
3440
3441
  "wbr"
3441
3442
  ]);
3442
- for (; m = S.exec(u); )
3443
+ for (; m = v.exec(u); )
3443
3444
  if (!(m[0].startsWith("<!--") && m[0].endsWith("-->"))) {
3444
3445
  if (m[1]) {
3445
3446
  const l = m[1], g = m[0][1] === "/", A = m[0][m[0].length - 2] === "/" || T.has(l), {
3446
3447
  props: N,
3447
3448
  attrs: O,
3448
- directives: j,
3449
+ directives: M,
3449
3450
  bound: R
3450
3451
  } = tn(
3451
3452
  m[2] || "",
@@ -3487,7 +3488,7 @@ function nn(e, n, t) {
3487
3488
  for (const x of ie)
3488
3489
  if (R && R.includes(x) && x in P.attrs && !(P.props && x in P.props)) {
3489
3490
  let $ = P.attrs[x];
3490
- if ($ && M($))
3491
+ if ($ && j($))
3491
3492
  $ = $.value, P.props[x] = $, delete P.attrs[x];
3492
3493
  else if ($ && typeof $ == "object" && "value" in $ && !($ instanceof Node))
3493
3494
  try {
@@ -3514,8 +3515,8 @@ function nn(e, n, t) {
3514
3515
  const z = $.includes("-") ? Ze($) : $, ee = P.attrs[$];
3515
3516
  if (P.props[z] = ee, x.has($) || at($))
3516
3517
  try {
3517
- const Me = F(P.attrs[$]);
3518
- Me === null ? delete P.attrs[$] : P.attrs[$] = Me;
3518
+ const je = F(P.attrs[$]);
3519
+ je === null ? delete P.attrs[$] : P.attrs[$] = je;
3519
3520
  } catch {
3520
3521
  delete P.attrs[$];
3521
3522
  }
@@ -3533,18 +3534,18 @@ function nn(e, n, t) {
3533
3534
  }
3534
3535
  } catch {
3535
3536
  }
3536
- if (j && Object.keys(j).some(
3537
+ if (M && Object.keys(M).some(
3537
3538
  (K) => K === "model" || K.startsWith("model:")
3538
3539
  ))
3539
3540
  try {
3540
3541
  const K = Symbol.for("cer.registry"), I = globalThis[K], ie = !!(I && typeof I.has == "function" && I.has(l)), Y = r, x = !!(Y && (Y.__customElements instanceof Set && Y.__customElements.has(l) || Array.isArray(Y.__isCustomElements) && Y.__isCustomElements.includes(l)));
3541
3542
  if (!!(l.includes("-") || x || ie))
3542
- for (const ee of Object.keys(j)) {
3543
+ for (const ee of Object.keys(M)) {
3543
3544
  if (ee !== "model" && !ee.startsWith("model:")) continue;
3544
- const je = j[ee], Me = je.arg ?? (ee.includes(":") ? ee.split(":", 2)[1] : void 0), V = je.value, Be = Me ?? "modelValue", Je = U, ht = Re, Se = r?._state || r;
3545
+ const Me = M[ee], je = Me.arg ?? (ee.includes(":") ? ee.split(":", 2)[1] : void 0), V = Me.value, Be = je ?? "modelValue", Je = U, ht = Re, ve = r?._state || r;
3545
3546
  let re;
3546
- typeof V == "string" && Se ? re = Je(
3547
- Se,
3547
+ typeof V == "string" && ve ? re = Je(
3548
+ ve,
3548
3549
  V
3549
3550
  ) : re = V, P.props[Be] = re;
3550
3551
  try {
@@ -3559,46 +3560,46 @@ function nn(e, n, t) {
3559
3560
  ), yt = "on" + Ye.charAt(0).toUpperCase() + Ye.slice(1);
3560
3561
  P.props[yt] = function(ce) {
3561
3562
  const ne = ce.detail !== void 0 ? ce.detail : ce.target ? ce.target.value : void 0;
3562
- if (Se)
3563
- if (V && M(V)) {
3563
+ if (ve)
3564
+ if (V && j(V)) {
3564
3565
  const ae = V.value;
3565
3566
  if (Array.isArray(ne) && Array.isArray(ae) ? JSON.stringify([...ne].sort()) !== JSON.stringify([...ae].sort()) : ne !== ae) {
3566
3567
  V.value = ne;
3567
3568
  try {
3568
3569
  const le = r;
3569
3570
  if (le) {
3570
- const ve = le.requestRender, _e = le._requestRender;
3571
- typeof ve == "function" ? ve() : typeof _e == "function" && _e();
3571
+ const Se = le.requestRender, _e = le._requestRender;
3572
+ typeof Se == "function" ? Se() : typeof _e == "function" && _e();
3572
3573
  }
3573
3574
  } catch {
3574
3575
  }
3575
3576
  }
3576
3577
  } else {
3577
3578
  const ae = Je(
3578
- Se || {},
3579
+ ve || {},
3579
3580
  typeof V == "string" ? V : String(V)
3580
3581
  );
3581
3582
  if (Array.isArray(ne) && Array.isArray(ae) ? JSON.stringify([...ne].sort()) !== JSON.stringify([...ae].sort()) : ne !== ae) {
3582
3583
  ht(
3583
- Se || {},
3584
+ ve || {},
3584
3585
  typeof V == "string" ? V : String(V),
3585
3586
  ne
3586
3587
  );
3587
3588
  try {
3588
3589
  const le = r;
3589
3590
  if (le) {
3590
- const ve = le.requestRender, _e = le._requestRender;
3591
- typeof ve == "function" ? ve() : typeof _e == "function" && _e();
3591
+ const Se = le.requestRender, _e = le._requestRender;
3592
+ typeof Se == "function" ? Se() : typeof _e == "function" && _e();
3592
3593
  }
3593
3594
  } catch {
3594
3595
  }
3595
3596
  }
3596
3597
  }
3597
- }, delete j[ee];
3598
+ }, delete M[ee];
3598
3599
  }
3599
3600
  } catch {
3600
3601
  }
3601
- if (Object.keys(j).length > 0 && (P.directives = { ...j }), g) {
3602
+ if (Object.keys(M).length > 0 && (P.directives = { ...M }), g) {
3602
3603
  const K = C.some(
3603
3604
  (x) => typeof x == "object" && x.tag !== "#text"
3604
3605
  );
@@ -3642,11 +3643,11 @@ function nn(e, n, t) {
3642
3643
  if (!N) continue;
3643
3644
  const O = N.match(/^{{(\d+)}}$/);
3644
3645
  if (O) {
3645
- const j = Number(O[1]), R = n[j], P = `interp-${j}`;
3646
+ const M = Number(O[1]), R = n[M], P = `interp-${M}`;
3646
3647
  E(R, P);
3647
3648
  } else {
3648
- const j = `text-${v++}`, R = p();
3649
- g.push(f(N, j, R));
3649
+ const M = `text-${S++}`, R = p();
3650
+ g.push(f(N, M, R));
3650
3651
  }
3651
3652
  }
3652
3653
  }
@@ -3670,11 +3671,12 @@ function mn(e, ...n) {
3670
3671
  export {
3671
3672
  yn as component,
3672
3673
  En as computed,
3673
- kn as css,
3674
+ wn as css,
3674
3675
  Et as decodeEntities,
3675
3676
  mn as html,
3676
- Sn as ref,
3677
- vn as unsafeHTML,
3677
+ vn as ref,
3678
+ kn as setDevMode,
3679
+ Sn as unsafeHTML,
3678
3680
  an as useEmit,
3679
3681
  un as useOnAttributeChanged,
3680
3682
  ln as useOnConnected,