@marko/runtime-tags 6.4.8 → 6.4.9

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 (87) hide show
  1. package/dist/common/constants/closure-signal-prop.d.ts +1 -1
  2. package/dist/common/constants/closure-signal-prop.debug.d.ts +1 -1
  3. package/dist/debug/dom/catch.feat.js +1 -1
  4. package/dist/debug/dom/catch.feat.mjs +1 -1
  5. package/dist/debug/dom/controllable-input.feat.js +1 -1
  6. package/dist/debug/dom/controllable-input.feat.mjs +1 -1
  7. package/dist/debug/dom/controllable-open.feat.js +1 -1
  8. package/dist/debug/dom/controllable-open.feat.mjs +1 -1
  9. package/dist/debug/dom/controllable-select.feat.js +1 -1
  10. package/dist/debug/dom/controllable-select.feat.mjs +1 -1
  11. package/dist/debug/dom/controllable-textarea.feat.js +1 -1
  12. package/dist/debug/dom/controllable-textarea.feat.mjs +1 -1
  13. package/dist/debug/dom/controllable.feat.js +1 -1
  14. package/dist/debug/dom/controllable.feat.mjs +1 -1
  15. package/dist/debug/dom/dynamic-tag-script.feat.js +1 -1
  16. package/dist/debug/dom/dynamic-tag-script.feat.mjs +1 -1
  17. package/dist/debug/dom/dynamic-tag-var.feat.js +1 -1
  18. package/dist/debug/dom/dynamic-tag-var.feat.mjs +1 -1
  19. package/dist/debug/dom/lazy.feat.js +1 -1
  20. package/dist/debug/dom/lazy.feat.mjs +1 -1
  21. package/dist/debug/dom/placeholder.feat.js +1 -1
  22. package/dist/debug/dom/placeholder.feat.mjs +1 -1
  23. package/dist/debug/{dom-D8znnhpf.js → dom-QkYva5Qx.js} +35 -61
  24. package/dist/debug/{dom-CFCBDift.mjs → dom-VKjkbuuo.mjs} +36 -50
  25. package/dist/debug/dom.js +4 -4
  26. package/dist/debug/dom.mjs +4 -4
  27. package/dist/debug/html.js +20 -13
  28. package/dist/debug/html.mjs +18 -11
  29. package/dist/dom/catch.feat.js +3 -3
  30. package/dist/dom/catch.feat.mjs +1 -1
  31. package/dist/dom/compat.d.ts +1 -1
  32. package/dist/dom/control-flow.d.ts +1 -1
  33. package/dist/dom/controllable-input.feat.js +1 -1
  34. package/dist/dom/controllable-input.feat.mjs +1 -1
  35. package/dist/dom/controllable-open.feat.js +1 -1
  36. package/dist/dom/controllable-open.feat.mjs +1 -1
  37. package/dist/dom/controllable-select.feat.js +1 -1
  38. package/dist/dom/controllable-select.feat.mjs +1 -1
  39. package/dist/dom/controllable-textarea.feat.js +1 -1
  40. package/dist/dom/controllable-textarea.feat.mjs +1 -1
  41. package/dist/dom/controllable.feat.js +1 -1
  42. package/dist/dom/controllable.feat.mjs +1 -1
  43. package/dist/dom/dom.d.ts +2 -3
  44. package/dist/dom/dynamic-tag-script.feat.js +2 -2
  45. package/dist/dom/dynamic-tag-script.feat.mjs +1 -1
  46. package/dist/dom/dynamic-tag-var.feat.js +3 -3
  47. package/dist/dom/dynamic-tag-var.feat.mjs +1 -1
  48. package/dist/dom/lazy.feat.js +1 -1
  49. package/dist/dom/lazy.feat.mjs +1 -1
  50. package/dist/dom/placeholder.feat.js +3 -3
  51. package/dist/dom/placeholder.feat.mjs +1 -1
  52. package/dist/dom/resume.d.ts +1 -1
  53. package/dist/dom/scope.d.ts +1 -1
  54. package/dist/dom/signals.d.ts +1 -1
  55. package/dist/{dom-CVAevsbz.mjs → dom-DtKQb840.mjs} +19 -33
  56. package/dist/{dom-Bpkm72vV.js → dom-IujlfJ6b.js} +82 -106
  57. package/dist/dom.js +31 -31
  58. package/dist/dom.mjs +4 -4
  59. package/dist/html/serializer.d.ts +1 -1
  60. package/dist/html/writer.d.ts +3 -3
  61. package/dist/html.d.ts +1 -1
  62. package/dist/html.js +21 -15
  63. package/dist/html.mjs +21 -15
  64. package/dist/translator/core/show.d.ts +3 -4
  65. package/dist/translator/index.js +998 -967
  66. package/dist/translator/util/bindings.d.ts +6 -5
  67. package/dist/translator/util/branch-tag.d.ts +1 -1
  68. package/dist/translator/util/constants/slot-kind.d.ts +1 -1
  69. package/dist/translator/util/module-registrations.d.ts +1 -1
  70. package/dist/translator/util/optional.d.ts +1 -0
  71. package/dist/translator/util/params-tree.d.ts +3 -3
  72. package/dist/translator/util/reasons.d.ts +2 -2
  73. package/dist/translator/util/references.d.ts +13 -10
  74. package/dist/translator/util/replace-with-statements.d.ts +4 -0
  75. package/dist/translator/util/runtime.d.ts +1 -0
  76. package/dist/translator/util/scope-accessor.d.ts +1 -1
  77. package/dist/translator/util/sections.d.ts +38 -14
  78. package/dist/translator/util/signals.d.ts +3 -11
  79. package/dist/translator/util/slots.d.ts +1 -1
  80. package/dist/translator/util/solve-reasons.d.ts +5 -0
  81. package/dist/translator/util/static-text.d.ts +1 -0
  82. package/dist/translator/util/structure.d.ts +3 -2
  83. package/dist/translator/util/tag-import.d.ts +0 -2
  84. package/dist/translator/util/write-guard.d.ts +2 -0
  85. package/dist/translator/visitors/placeholder.d.ts +4 -4
  86. package/package.json +3 -3
  87. package/dist/translator/visitors/constants/sibling-text.d.ts +0 -6
@@ -1,4 +1,4 @@
1
- export declare const ScopeInstancesAccessor = "a";
1
+ export declare const ScopesAccessor = "a";
2
2
  export declare const SignalIndexAccessor = "b";
3
3
  export declare const Index = "c";
4
4
  type Self = typeof import("./closure-signal-prop");
@@ -1,4 +1,4 @@
1
- export declare const ScopeInstancesAccessor = "scopeInstancesAccessor";
1
+ export declare const ScopesAccessor = "scopesAccessor";
2
2
  export declare const SignalIndexAccessor = "signalIndexAccessor";
3
3
  export declare const Index = "index";
4
4
  type Self = typeof import("./closure-signal-prop.debug");
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_control_flow = require("../dom-D8znnhpf.js");
2
+ const require_control_flow = require("../dom-QkYva5Qx.js");
3
3
  //#region src/dom/catch.feat.ts
4
4
  const deferToPendingTry = (fn, scope, branch) => {
5
5
  while (branch) {
@@ -1,4 +1,4 @@
1
- import { Gn as PendingRenders, Hn as ParentBranch, Ln as ClosestBranch, Nn as Pending, Pn as Scope, Un as PendingEffectScopes, Wn as PendingEffects, cn as installCatch, dn as queueEffect, un as queueAsyncRender, v as renderCatch, y as runPendingEffects } from "../dom-CFCBDift.mjs";
1
+ import { Bn as ParentBranch, Fn as ClosestBranch, Hn as PendingEffects, Mn as Scope, Un as PendingRenders, Vn as PendingEffectScopes, cn as queueAsyncRender, jn as Pending, ln as queueEffect, on as installCatch, v as renderCatch, y as runPendingEffects } from "../dom-VKjkbuuo.mjs";
2
2
  //#region src/dom/catch.feat.ts
3
3
  const deferToPendingTry = (fn, scope, branch) => {
4
4
  while (branch) {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_control_flow = require("../dom-D8znnhpf.js");
2
+ const require_control_flow = require("../dom-QkYva5Qx.js");
3
3
  //#region src/dom/controllable-input.feat.ts
4
4
  require_control_flow.controllableScripts[0] = require_control_flow._attr_input_checked_script;
5
5
  require_control_flow.controllableScripts[1] = require_control_flow._attr_input_checkedValue_script;
@@ -1,4 +1,4 @@
1
- import { D as _attr_input_checkedValue_script, H as controllableScripts, P as _attr_input_value_script, k as _attr_input_checked_script } from "../dom-CFCBDift.mjs";
1
+ import { D as _attr_input_checkedValue_script, H as controllableScripts, P as _attr_input_value_script, k as _attr_input_checked_script } from "../dom-VKjkbuuo.mjs";
2
2
  //#region src/dom/controllable-input.feat.ts
3
3
  controllableScripts[0] = _attr_input_checked_script;
4
4
  controllableScripts[1] = _attr_input_checkedValue_script;
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_control_flow = require("../dom-D8znnhpf.js");
2
+ const require_control_flow = require("../dom-QkYva5Qx.js");
3
3
  //#region src/dom/controllable-open.feat.ts
4
4
  require_control_flow.controllableScripts[4] = require_control_flow._attr_details_or_dialog_open_script;
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- import { C as _attr_details_or_dialog_open_script, H as controllableScripts } from "../dom-CFCBDift.mjs";
1
+ import { C as _attr_details_or_dialog_open_script, H as controllableScripts } from "../dom-VKjkbuuo.mjs";
2
2
  //#region src/dom/controllable-open.feat.ts
3
3
  controllableScripts[4] = _attr_details_or_dialog_open_script;
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_control_flow = require("../dom-D8znnhpf.js");
2
+ const require_control_flow = require("../dom-QkYva5Qx.js");
3
3
  //#region src/dom/controllable-select.feat.ts
4
4
  require_control_flow.controllableScripts[3] = require_control_flow._attr_select_value_script;
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- import { H as controllableScripts, L as _attr_select_value_script } from "../dom-CFCBDift.mjs";
1
+ import { H as controllableScripts, L as _attr_select_value_script } from "../dom-VKjkbuuo.mjs";
2
2
  //#region src/dom/controllable-select.feat.ts
3
3
  controllableScripts[3] = _attr_select_value_script;
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_control_flow = require("../dom-D8znnhpf.js");
2
+ const require_control_flow = require("../dom-QkYva5Qx.js");
3
3
  //#region src/dom/controllable-textarea.feat.ts
4
4
  require_control_flow.controllableScripts[2] = require_control_flow._attr_input_value_script;
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- import { H as controllableScripts, P as _attr_input_value_script } from "../dom-CFCBDift.mjs";
1
+ import { H as controllableScripts, P as _attr_input_value_script } from "../dom-VKjkbuuo.mjs";
2
2
  //#region src/dom/controllable-textarea.feat.ts
3
3
  controllableScripts[2] = _attr_input_value_script;
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_control_flow = require("../dom-D8znnhpf.js");
2
+ const require_control_flow = require("../dom-QkYva5Qx.js");
3
3
  require("./controllable-input.feat.js");
4
4
  require("./controllable-open.feat.js");
5
5
  require("./controllable-select.feat.js");
@@ -1,4 +1,4 @@
1
- import { B as _controllable_select, R as _controllable_input, U as controllableSpreadHelpers, V as _controllable_textarea, z as _controllable_open } from "../dom-CFCBDift.mjs";
1
+ import { B as _controllable_select, R as _controllable_input, U as controllableSpreadHelpers, V as _controllable_textarea, z as _controllable_open } from "../dom-VKjkbuuo.mjs";
2
2
  import "./controllable-input.feat.mjs";
3
3
  import "./controllable-open.feat.mjs";
4
4
  import "./controllable-select.feat.mjs";
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_control_flow = require("../dom-D8znnhpf.js");
2
+ const require_control_flow = require("../dom-QkYva5Qx.js");
3
3
  //#region src/dom/dynamic-tag-script.feat.ts
4
4
  require_control_flow._resumed[require_control_flow.DYNAMIC_TAG_SCRIPT_REGISTER_ID] = require_control_flow.withBranches(require_control_flow.dynamicTagScript);
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- import { Ct as _resumed, Tn as withBranches, h as dynamicTagScript, tn as DYNAMIC_TAG_SCRIPT_REGISTER_ID } from "../dom-CFCBDift.mjs";
1
+ import { $t as DYNAMIC_TAG_SCRIPT_REGISTER_ID, Cn as withBranches, h as dynamicTagScript, xt as _resumed } from "../dom-VKjkbuuo.mjs";
2
2
  //#region src/dom/dynamic-tag-script.feat.ts
3
3
  _resumed[DYNAMIC_TAG_SCRIPT_REGISTER_ID] = withBranches(dynamicTagScript);
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_control_flow = require("../dom-D8znnhpf.js");
2
+ const require_control_flow = require("../dom-QkYva5Qx.js");
3
3
  //#region src/dom/dynamic-tag-var.feat.ts
4
4
  require_control_flow.installBranchRenders();
5
5
  require_control_flow.installDynamicTagVar((scope, branch, scopeKey, renderer) => {
@@ -1,4 +1,4 @@
1
- import { In as BranchRenders, Jn as TagVariable, Pt as _el_read, g as installDynamicTagVar, on as createBranchRenders, qn as StartNode, sn as installBranchRenders } from "../dom-CFCBDift.mjs";
1
+ import { Gn as StartNode, Kn as TagVariable, Mt as _el_read, Pn as BranchRenders, an as installBranchRenders, g as installDynamicTagVar, in as createBranchRenders } from "../dom-VKjkbuuo.mjs";
2
2
  //#region src/dom/dynamic-tag-var.feat.ts
3
3
  installBranchRenders();
4
4
  installDynamicTagVar((scope, branch, scopeKey, renderer) => {
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  //#region src/dom/lazy.feat.ts
3
- require("../dom-D8znnhpf.js").withLazy();
3
+ require("../dom-QkYva5Qx.js").withLazy();
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { At as withLazy } from "../dom-CFCBDift.mjs";
1
+ import { Ot as withLazy } from "../dom-VKjkbuuo.mjs";
2
2
  //#region src/dom/lazy.feat.ts
3
3
  withLazy();
4
4
  //#endregion
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const require_control_flow = require("../dom-D8znnhpf.js");
2
+ const require_control_flow = require("../dom-QkYva5Qx.js");
3
3
  //#region src/dom/placeholder.feat.ts
4
4
  require_control_flow._resumed[require_control_flow.PLACEHOLDER_DISMISS_REGISTER_ID] = (tryBranch) => {
5
5
  if (tryBranch["#PlaceholderBranch"]) {
@@ -1,4 +1,4 @@
1
- import { Ct as _resumed, Kn as PlaceholderBranch, Zt as destroyBranch, nn as PLACEHOLDER_DISMISS_REGISTER_ID } from "../dom-CFCBDift.mjs";
1
+ import { Wn as PlaceholderBranch, Yt as destroyBranch, en as PLACEHOLDER_DISMISS_REGISTER_ID, xt as _resumed } from "../dom-VKjkbuuo.mjs";
2
2
  //#region src/dom/placeholder.feat.ts
3
3
  _resumed[PLACEHOLDER_DISMISS_REGISTER_ID] = (tryBranch) => {
4
4
  if (tryBranch["#PlaceholderBranch"]) {
@@ -52,7 +52,7 @@ const TryBranch = "#TryBranch";
52
52
  const Changed = "Changed";
53
53
  //#endregion
54
54
  //#region src/common/constants/closure-signal-prop.debug.ts
55
- const ScopeInstancesAccessor = "scopeInstancesAccessor";
55
+ const ScopesAccessor = "scopesAccessor";
56
56
  const SignalIndexAccessor = "signalIndexAccessor";
57
57
  const Index = "index";
58
58
  //#endregion
@@ -626,9 +626,9 @@ function removeAndDestroyBranch(branch) {
626
626
  removeChildNodes(branch[StartNode], branch[EndNode]);
627
627
  }
628
628
  function insertBranchBefore(branch, parentNode, nextSibling) {
629
- insertChildNodes(parentNode, nextSibling, branch[StartNode], branch[EndNode]);
629
+ parentNode.insertBefore(branch["#StartNode"].parentNode || branch["#StartNode"], nextSibling);
630
630
  }
631
- function tempDetachBranch(branch) {
631
+ function detachBranch(branch) {
632
632
  const fragment = new DocumentFragment();
633
633
  fragment.namespaceURI = branch[StartNode].parentNode.namespaceURI;
634
634
  insertChildNodes(fragment, null, branch[StartNode], branch[EndNode]);
@@ -780,7 +780,7 @@ function subscribeToScopeSet(owner, accessor, scope) {
780
780
  }
781
781
  function _closure(...closureSignals) {
782
782
  const [firstSignal] = closureSignals;
783
- const scopeInstances = firstSignal[ScopeInstancesAccessor];
783
+ const scopeInstances = firstSignal[ScopesAccessor];
784
784
  const signalIndex = firstSignal[SignalIndexAccessor];
785
785
  for (let i = closureSignals.length; i--;) closureSignals[i][Index] = i;
786
786
  return (scope) => {
@@ -794,11 +794,11 @@ function _closure_get(valueAccessor, fn, getOwnerScope, resumeId) {
794
794
  const closureSignal = ((scope, resumed) => {
795
795
  const ownerScope = getOwnerScope ? getOwnerScope(scope) : scope["_"];
796
796
  scope[closureSignal[SignalIndexAccessor]] = closureSignal[Index];
797
- subscribeToScopeSet(ownerScope, closureSignal[ScopeInstancesAccessor], scope);
797
+ subscribeToScopeSet(ownerScope, closureSignal[ScopesAccessor], scope);
798
798
  if (!resumed) queueRender(scope, fn, -1);
799
- else if (ownerScope[closureSignal["scopeInstancesAccessor"]]["Changed"]) queueAsyncRender(scope, fn);
799
+ else if (ownerScope[closureSignal["scopesAccessor"]]["Changed"]) queueAsyncRender(scope, fn);
800
800
  });
801
- closureSignal[ScopeInstancesAccessor] = ClosureScopes + valueAccessor;
801
+ closureSignal[ScopesAccessor] = ClosureScopes + valueAccessor;
802
802
  closureSignal[SignalIndexAccessor] = ClosureSignalIndex + valueAccessor;
803
803
  if (resumeId) _resumed[resumeId] = (scope) => closureSignal(scope, 1);
804
804
  return closureSignal;
@@ -1141,7 +1141,7 @@ function runResumeEffects(render) {
1141
1141
  isResuming = 0;
1142
1142
  }
1143
1143
  }
1144
- function getRegisteredWithScope(id, scope) {
1144
+ function getRegisteredWithScope(scope, id) {
1145
1145
  return scope ? _resumed[id](scope) : _resumed[id];
1146
1146
  }
1147
1147
  function _var_resume(id, signal) {
@@ -1236,12 +1236,13 @@ function _content_closures(renderer, closureFns) {
1236
1236
  const cloneCache = {};
1237
1237
  function createCloneableHTML(html, ns) {
1238
1238
  const { firstChild, lastChild } = parseHTML(html, ns);
1239
- const parent = document.createElementNS(ns, "t");
1239
+ const parent = new DocumentFragment();
1240
1240
  insertChildNodes(parent, null, firstChild, lastChild);
1241
1241
  return firstChild === lastChild && firstChild.nodeType < 8 ? (branch, walks) => {
1242
1242
  walk(branch[StartNode] = branch[EndNode] = firstChild.cloneNode(true), walks, branch);
1243
1243
  } : (branch, walks) => {
1244
1244
  const clone = parent.cloneNode(true);
1245
+ clone.namespaceURI = ns;
1245
1246
  walk(clone.firstChild, walks, branch);
1246
1247
  branch[StartNode] = clone.firstChild;
1247
1248
  branch[EndNode] = clone.lastChild;
@@ -1409,7 +1410,7 @@ const _html = /*@__PURE__*/ withDynamicHtml(function _html(scope, value, accesso
1409
1410
  const branch = scope[ClosestBranch];
1410
1411
  if (branch?.["#StartNode"] === firstChild) branch[StartNode] = newFirstChild;
1411
1412
  if (branch?.["#EndNode"] === lastChild) branch[EndNode] = newLastChild;
1412
- insertChildNodes(parentNode, firstChild, newFirstChild, newLastChild);
1413
+ firstChild.before(...newContent.childNodes);
1413
1414
  removeChildNodes(firstChild, lastChild);
1414
1415
  }
1415
1416
  });
@@ -1440,27 +1441,20 @@ function _lifecycle(scope, thisObj, index = 0) {
1440
1441
  }
1441
1442
  }
1442
1443
  function removeChildNodes(startNode, endNode) {
1443
- const stop = endNode.nextSibling;
1444
- while (startNode !== stop) {
1444
+ endNode = endNode.nextSibling;
1445
+ while (startNode !== endNode) {
1445
1446
  const next = startNode.nextSibling;
1446
1447
  startNode.remove();
1447
1448
  startNode = next;
1448
1449
  }
1449
1450
  }
1450
1451
  function insertChildNodes(parentNode, referenceNode, startNode, endNode) {
1451
- if (parentNode.isConnected) parentNode.insertBefore(toInsertNode(startNode, endNode), referenceNode);
1452
- else {
1453
- const stop = endNode.nextSibling;
1454
- while (startNode !== stop) {
1455
- const next = startNode.nextSibling;
1456
- parentNode.insertBefore(startNode, referenceNode);
1457
- startNode = next;
1458
- }
1452
+ endNode = endNode.nextSibling;
1453
+ while (startNode !== endNode) {
1454
+ const next = startNode.nextSibling;
1455
+ parentNode.insertBefore(startNode, referenceNode);
1456
+ startNode = next;
1459
1457
  }
1460
- return parentNode;
1461
- }
1462
- function toInsertNode(startNode, endNode) {
1463
- return startNode === endNode ? startNode : insertChildNodes(new DocumentFragment(), null, startNode, endNode);
1464
1458
  }
1465
1459
  //#endregion
1466
1460
  //#region src/dom/resolve-cursor-position.ts
@@ -1828,7 +1822,7 @@ function _await_promise(nodeAccessor, params) {
1828
1822
  countAwait(awaitCounter, scope, (_) => {
1829
1823
  if (!awaitBranch["#DetachedAwait"]) {
1830
1824
  awaitBranch[StartNode].parentNode.insertBefore(scope[nodeAccessor], awaitBranch[StartNode]);
1831
- tempDetachBranch(tryBranch);
1825
+ detachBranch(tryBranch);
1832
1826
  }
1833
1827
  });
1834
1828
  }
@@ -1881,7 +1875,7 @@ function startAwait(scope, tryBranch = findTryWithPlaceholder(scope)) {
1881
1875
  countAwait(awaitCounter, tryBranch, (_) => {
1882
1876
  (tryBranch[PlaceholderBranch] = createAndSetupBranch(tryBranch[Global], tryBranch[PlaceholderContent](), tryBranch["_"], tryBranch[StartNode].parentNode))[TryBranch] = tryBranch;
1883
1877
  insertBranchBefore(tryBranch[PlaceholderBranch], tryBranch[StartNode].parentNode, tryBranch[StartNode]);
1884
- tempDetachBranch(tryBranch);
1878
+ detachBranch(tryBranch);
1885
1879
  });
1886
1880
  return awaitCounter;
1887
1881
  }
@@ -1928,7 +1922,7 @@ function dismissPlaceholder(tryBranch) {
1928
1922
  const placeholderBranch = tryBranch[PlaceholderBranch];
1929
1923
  if (placeholderBranch) {
1930
1924
  tryBranch[PlaceholderBranch] = 0;
1931
- placeholderBranch[StartNode].parentNode.insertBefore(tryBranch[StartNode].parentNode, placeholderBranch[StartNode]);
1925
+ insertBranchBefore(tryBranch, placeholderBranch[StartNode].parentNode, placeholderBranch[StartNode]);
1932
1926
  removeAndDestroyBranch(placeholderBranch);
1933
1927
  }
1934
1928
  }
@@ -1982,7 +1976,7 @@ const _if = /*@__PURE__*/ withBranches((nodeAccessor, ...branchesArgs) => {
1982
1976
  if (newBranch !== (scope[branchAccessor] ?? (scope["BranchScopes:" + nodeAccessor] && 0))) setBranch(scope, nodeAccessor, branches[scope[branchAccessor] = newBranch], createAndSetupBranch);
1983
1977
  };
1984
1978
  });
1985
- const _show = /*@__PURE__*/ withBranches((nodeAccessor, startNodeAccessor, endNodeAccessor) => {
1979
+ const _show = /*@__PURE__*/ withBranches((nodeAccessor, startNodeAccessor) => {
1986
1980
  const rangeAccessor = BranchScopes$1 + nodeAccessor;
1987
1981
  return (scope, display) => {
1988
1982
  const referenceNode = scope[nodeAccessor];
@@ -1991,27 +1985,16 @@ const _show = /*@__PURE__*/ withBranches((nodeAccessor, startNodeAccessor, endNo
1991
1985
  let range = scope[rangeAccessor];
1992
1986
  if (!range) {
1993
1987
  range = scope[rangeAccessor] = {};
1994
- range[StartNode] = onlyChild ? parentNode.firstChild : scope[startNodeAccessor];
1995
- range[EndNode] = onlyChild ? parentNode.lastChild : endNodeAccessor === void 0 ? referenceNode.previousSibling : scope[endNodeAccessor];
1988
+ range[StartNode] = onlyChild ? parentNode.insertBefore(new Text(), parentNode.firstChild) : startNodeAccessor ? scope[startNodeAccessor] : referenceNode.previousSibling;
1996
1989
  }
1997
- let startNode = range[StartNode];
1998
- if (range["#Id"] && startNode === range["#EndNode"] && startNode.tagName === "T") {
1999
- const wrapper = startNode;
2000
- if (!wrapper.firstChild) wrapper.appendChild(new Text());
2001
- range = scope[rangeAccessor] = {};
2002
- range[StartNode] = startNode = wrapper.firstChild;
2003
- range[EndNode] = wrapper.lastChild;
2004
- wrapper.replaceWith(...wrapper.childNodes);
2005
- }
2006
- const inDom = onlyChild ? !!parentNode.firstChild : startNode.parentNode === parentNode;
2007
- if (display) {
2008
- if (!inDom) insertBranchBefore(range, parentNode, onlyChild ? null : referenceNode);
2009
- } else if (inDom) {
2010
- if (onlyChild) {
2011
- range[StartNode] = parentNode.firstChild;
2012
- range[EndNode] = parentNode.lastChild;
2013
- }
2014
- tempDetachBranch(range);
1990
+ const startNode = range[StartNode];
1991
+ if (range["#Id"] && startNode.tagName === "T") {
1992
+ if (display) startNode.replaceWith(range[StartNode] = new Text(), ...startNode.childNodes);
1993
+ } else if (display) {
1994
+ if (startNode.parentNode !== parentNode) parentNode.insertBefore(startNode.parentNode, onlyChild ? null : referenceNode);
1995
+ } else if (startNode.parentNode === parentNode) {
1996
+ range[EndNode] = onlyChild ? parentNode.lastChild : referenceNode.previousSibling;
1997
+ detachBranch(range);
2015
1998
  }
2016
1999
  };
2017
2000
  });
@@ -2238,7 +2221,10 @@ function reorderKeyed(newScopes, start, newEnd, parentNode, afterReference) {
2238
2221
  }
2239
2222
  for (let i = diffLen; i--;) {
2240
2223
  if (~tail && i === tails[tail]) tail--;
2241
- else insertBranchBefore(newScopes[start + i], parentNode, afterReference);
2224
+ else {
2225
+ if (~sources[i]) detachBranch(newScopes[start + i]);
2226
+ insertBranchBefore(newScopes[start + i], parentNode, afterReference);
2227
+ }
2242
2228
  afterReference = newScopes[start + i][StartNode];
2243
2229
  }
2244
2230
  }
@@ -3041,12 +3027,6 @@ Object.defineProperty(exports, "insertBranchBefore", {
3041
3027
  return insertBranchBefore;
3042
3028
  }
3043
3029
  });
3044
- Object.defineProperty(exports, "insertChildNodes", {
3045
- enumerable: true,
3046
- get: function() {
3047
- return insertChildNodes;
3048
- }
3049
- });
3050
3030
  Object.defineProperty(exports, "installBranchRenders", {
3051
3031
  enumerable: true,
3052
3032
  get: function() {
@@ -3167,12 +3147,6 @@ Object.defineProperty(exports, "syncGen", {
3167
3147
  return syncGen;
3168
3148
  }
3169
3149
  });
3170
- Object.defineProperty(exports, "toInsertNode", {
3171
- enumerable: true,
3172
- get: function() {
3173
- return toInsertNode;
3174
- }
3175
- });
3176
3150
  Object.defineProperty(exports, "withBranches", {
3177
3151
  enumerable: true,
3178
3152
  get: function() {
@@ -51,7 +51,7 @@ const TryBranch = "#TryBranch";
51
51
  const Changed = "Changed";
52
52
  //#endregion
53
53
  //#region src/common/constants/closure-signal-prop.debug.ts
54
- const ScopeInstancesAccessor = "scopeInstancesAccessor";
54
+ const ScopesAccessor = "scopesAccessor";
55
55
  const SignalIndexAccessor = "signalIndexAccessor";
56
56
  const Index = "index";
57
57
  //#endregion
@@ -625,9 +625,9 @@ function removeAndDestroyBranch(branch) {
625
625
  removeChildNodes(branch[StartNode], branch[EndNode]);
626
626
  }
627
627
  function insertBranchBefore(branch, parentNode, nextSibling) {
628
- insertChildNodes(parentNode, nextSibling, branch[StartNode], branch[EndNode]);
628
+ parentNode.insertBefore(branch["#StartNode"].parentNode || branch["#StartNode"], nextSibling);
629
629
  }
630
- function tempDetachBranch(branch) {
630
+ function detachBranch(branch) {
631
631
  const fragment = new DocumentFragment();
632
632
  fragment.namespaceURI = branch[StartNode].parentNode.namespaceURI;
633
633
  insertChildNodes(fragment, null, branch[StartNode], branch[EndNode]);
@@ -779,7 +779,7 @@ function subscribeToScopeSet(owner, accessor, scope) {
779
779
  }
780
780
  function _closure(...closureSignals) {
781
781
  const [firstSignal] = closureSignals;
782
- const scopeInstances = firstSignal[ScopeInstancesAccessor];
782
+ const scopeInstances = firstSignal[ScopesAccessor];
783
783
  const signalIndex = firstSignal[SignalIndexAccessor];
784
784
  for (let i = closureSignals.length; i--;) closureSignals[i][Index] = i;
785
785
  return (scope) => {
@@ -793,11 +793,11 @@ function _closure_get(valueAccessor, fn, getOwnerScope, resumeId) {
793
793
  const closureSignal = ((scope, resumed) => {
794
794
  const ownerScope = getOwnerScope ? getOwnerScope(scope) : scope["_"];
795
795
  scope[closureSignal[SignalIndexAccessor]] = closureSignal[Index];
796
- subscribeToScopeSet(ownerScope, closureSignal[ScopeInstancesAccessor], scope);
796
+ subscribeToScopeSet(ownerScope, closureSignal[ScopesAccessor], scope);
797
797
  if (!resumed) queueRender(scope, fn, -1);
798
- else if (ownerScope[closureSignal["scopeInstancesAccessor"]]["Changed"]) queueAsyncRender(scope, fn);
798
+ else if (ownerScope[closureSignal["scopesAccessor"]]["Changed"]) queueAsyncRender(scope, fn);
799
799
  });
800
- closureSignal[ScopeInstancesAccessor] = ClosureScopes + valueAccessor;
800
+ closureSignal[ScopesAccessor] = ClosureScopes + valueAccessor;
801
801
  closureSignal[SignalIndexAccessor] = ClosureSignalIndex + valueAccessor;
802
802
  if (resumeId) _resumed[resumeId] = (scope) => closureSignal(scope, 1);
803
803
  return closureSignal;
@@ -1140,7 +1140,7 @@ function runResumeEffects(render) {
1140
1140
  isResuming = 0;
1141
1141
  }
1142
1142
  }
1143
- function getRegisteredWithScope(id, scope) {
1143
+ function getRegisteredWithScope(scope, id) {
1144
1144
  return scope ? _resumed[id](scope) : _resumed[id];
1145
1145
  }
1146
1146
  function _var_resume(id, signal) {
@@ -1235,12 +1235,13 @@ function _content_closures(renderer, closureFns) {
1235
1235
  const cloneCache = {};
1236
1236
  function createCloneableHTML(html, ns) {
1237
1237
  const { firstChild, lastChild } = parseHTML(html, ns);
1238
- const parent = document.createElementNS(ns, "t");
1238
+ const parent = new DocumentFragment();
1239
1239
  insertChildNodes(parent, null, firstChild, lastChild);
1240
1240
  return firstChild === lastChild && firstChild.nodeType < 8 ? (branch, walks) => {
1241
1241
  walk(branch[StartNode] = branch[EndNode] = firstChild.cloneNode(true), walks, branch);
1242
1242
  } : (branch, walks) => {
1243
1243
  const clone = parent.cloneNode(true);
1244
+ clone.namespaceURI = ns;
1244
1245
  walk(clone.firstChild, walks, branch);
1245
1246
  branch[StartNode] = clone.firstChild;
1246
1247
  branch[EndNode] = clone.lastChild;
@@ -1408,7 +1409,7 @@ const _html = /*@__PURE__*/ withDynamicHtml(function _html(scope, value, accesso
1408
1409
  const branch = scope[ClosestBranch];
1409
1410
  if (branch?.["#StartNode"] === firstChild) branch[StartNode] = newFirstChild;
1410
1411
  if (branch?.["#EndNode"] === lastChild) branch[EndNode] = newLastChild;
1411
- insertChildNodes(parentNode, firstChild, newFirstChild, newLastChild);
1412
+ firstChild.before(...newContent.childNodes);
1412
1413
  removeChildNodes(firstChild, lastChild);
1413
1414
  }
1414
1415
  });
@@ -1439,27 +1440,20 @@ function _lifecycle(scope, thisObj, index = 0) {
1439
1440
  }
1440
1441
  }
1441
1442
  function removeChildNodes(startNode, endNode) {
1442
- const stop = endNode.nextSibling;
1443
- while (startNode !== stop) {
1443
+ endNode = endNode.nextSibling;
1444
+ while (startNode !== endNode) {
1444
1445
  const next = startNode.nextSibling;
1445
1446
  startNode.remove();
1446
1447
  startNode = next;
1447
1448
  }
1448
1449
  }
1449
1450
  function insertChildNodes(parentNode, referenceNode, startNode, endNode) {
1450
- if (parentNode.isConnected) parentNode.insertBefore(toInsertNode(startNode, endNode), referenceNode);
1451
- else {
1452
- const stop = endNode.nextSibling;
1453
- while (startNode !== stop) {
1454
- const next = startNode.nextSibling;
1455
- parentNode.insertBefore(startNode, referenceNode);
1456
- startNode = next;
1457
- }
1451
+ endNode = endNode.nextSibling;
1452
+ while (startNode !== endNode) {
1453
+ const next = startNode.nextSibling;
1454
+ parentNode.insertBefore(startNode, referenceNode);
1455
+ startNode = next;
1458
1456
  }
1459
- return parentNode;
1460
- }
1461
- function toInsertNode(startNode, endNode) {
1462
- return startNode === endNode ? startNode : insertChildNodes(new DocumentFragment(), null, startNode, endNode);
1463
1457
  }
1464
1458
  //#endregion
1465
1459
  //#region src/dom/resolve-cursor-position.ts
@@ -1827,7 +1821,7 @@ function _await_promise(nodeAccessor, params) {
1827
1821
  countAwait(awaitCounter, scope, (_) => {
1828
1822
  if (!awaitBranch["#DetachedAwait"]) {
1829
1823
  awaitBranch[StartNode].parentNode.insertBefore(scope[nodeAccessor], awaitBranch[StartNode]);
1830
- tempDetachBranch(tryBranch);
1824
+ detachBranch(tryBranch);
1831
1825
  }
1832
1826
  });
1833
1827
  }
@@ -1880,7 +1874,7 @@ function startAwait(scope, tryBranch = findTryWithPlaceholder(scope)) {
1880
1874
  countAwait(awaitCounter, tryBranch, (_) => {
1881
1875
  (tryBranch[PlaceholderBranch] = createAndSetupBranch(tryBranch[Global], tryBranch[PlaceholderContent](), tryBranch["_"], tryBranch[StartNode].parentNode))[TryBranch] = tryBranch;
1882
1876
  insertBranchBefore(tryBranch[PlaceholderBranch], tryBranch[StartNode].parentNode, tryBranch[StartNode]);
1883
- tempDetachBranch(tryBranch);
1877
+ detachBranch(tryBranch);
1884
1878
  });
1885
1879
  return awaitCounter;
1886
1880
  }
@@ -1927,7 +1921,7 @@ function dismissPlaceholder(tryBranch) {
1927
1921
  const placeholderBranch = tryBranch[PlaceholderBranch];
1928
1922
  if (placeholderBranch) {
1929
1923
  tryBranch[PlaceholderBranch] = 0;
1930
- placeholderBranch[StartNode].parentNode.insertBefore(tryBranch[StartNode].parentNode, placeholderBranch[StartNode]);
1924
+ insertBranchBefore(tryBranch, placeholderBranch[StartNode].parentNode, placeholderBranch[StartNode]);
1931
1925
  removeAndDestroyBranch(placeholderBranch);
1932
1926
  }
1933
1927
  }
@@ -1981,7 +1975,7 @@ const _if = /*@__PURE__*/ withBranches((nodeAccessor, ...branchesArgs) => {
1981
1975
  if (newBranch !== (scope[branchAccessor] ?? (scope["BranchScopes:" + nodeAccessor] && 0))) setBranch(scope, nodeAccessor, branches[scope[branchAccessor] = newBranch], createAndSetupBranch);
1982
1976
  };
1983
1977
  });
1984
- const _show = /*@__PURE__*/ withBranches((nodeAccessor, startNodeAccessor, endNodeAccessor) => {
1978
+ const _show = /*@__PURE__*/ withBranches((nodeAccessor, startNodeAccessor) => {
1985
1979
  const rangeAccessor = BranchScopes$1 + nodeAccessor;
1986
1980
  return (scope, display) => {
1987
1981
  const referenceNode = scope[nodeAccessor];
@@ -1990,27 +1984,16 @@ const _show = /*@__PURE__*/ withBranches((nodeAccessor, startNodeAccessor, endNo
1990
1984
  let range = scope[rangeAccessor];
1991
1985
  if (!range) {
1992
1986
  range = scope[rangeAccessor] = {};
1993
- range[StartNode] = onlyChild ? parentNode.firstChild : scope[startNodeAccessor];
1994
- range[EndNode] = onlyChild ? parentNode.lastChild : endNodeAccessor === void 0 ? referenceNode.previousSibling : scope[endNodeAccessor];
1987
+ range[StartNode] = onlyChild ? parentNode.insertBefore(new Text(), parentNode.firstChild) : startNodeAccessor ? scope[startNodeAccessor] : referenceNode.previousSibling;
1995
1988
  }
1996
- let startNode = range[StartNode];
1997
- if (range["#Id"] && startNode === range["#EndNode"] && startNode.tagName === "T") {
1998
- const wrapper = startNode;
1999
- if (!wrapper.firstChild) wrapper.appendChild(new Text());
2000
- range = scope[rangeAccessor] = {};
2001
- range[StartNode] = startNode = wrapper.firstChild;
2002
- range[EndNode] = wrapper.lastChild;
2003
- wrapper.replaceWith(...wrapper.childNodes);
2004
- }
2005
- const inDom = onlyChild ? !!parentNode.firstChild : startNode.parentNode === parentNode;
2006
- if (display) {
2007
- if (!inDom) insertBranchBefore(range, parentNode, onlyChild ? null : referenceNode);
2008
- } else if (inDom) {
2009
- if (onlyChild) {
2010
- range[StartNode] = parentNode.firstChild;
2011
- range[EndNode] = parentNode.lastChild;
2012
- }
2013
- tempDetachBranch(range);
1989
+ const startNode = range[StartNode];
1990
+ if (range["#Id"] && startNode.tagName === "T") {
1991
+ if (display) startNode.replaceWith(range[StartNode] = new Text(), ...startNode.childNodes);
1992
+ } else if (display) {
1993
+ if (startNode.parentNode !== parentNode) parentNode.insertBefore(startNode.parentNode, onlyChild ? null : referenceNode);
1994
+ } else if (startNode.parentNode === parentNode) {
1995
+ range[EndNode] = onlyChild ? parentNode.lastChild : referenceNode.previousSibling;
1996
+ detachBranch(range);
2014
1997
  }
2015
1998
  };
2016
1999
  });
@@ -2237,7 +2220,10 @@ function reorderKeyed(newScopes, start, newEnd, parentNode, afterReference) {
2237
2220
  }
2238
2221
  for (let i = diffLen; i--;) {
2239
2222
  if (~tail && i === tails[tail]) tail--;
2240
- else insertBranchBefore(newScopes[start + i], parentNode, afterReference);
2223
+ else {
2224
+ if (~sources[i]) detachBranch(newScopes[start + i]);
2225
+ insertBranchBefore(newScopes[start + i], parentNode, afterReference);
2226
+ }
2241
2227
  afterReference = newScopes[start + i][StartNode];
2242
2228
  }
2243
2229
  }
@@ -2248,4 +2234,4 @@ function byFirstArg(name) {
2248
2234
  return name;
2249
2235
  }
2250
2236
  //#endregion
2251
- export { _attr_style_items as $, removeAndDestroyBranch as $t, _attr_input_value as A, Params as An, withLazy as At, _controllable_select as B, Global as Bn, _id as Bt, _attr_details_or_dialog_open_script as C, _hoist_read_error as Cn, _resumed as Ct, _attr_input_checkedValue_script as D, Lazy as Dn, initEmbedded as Dt, _attr_input_checkedValue_default as E, Clone as En, init as Et, _attr_select_value as F, AwaitCounter as Fn, _for_closure as Ft, _attr_class as G, PendingRenders as Gn, _return as Gt, controllableScripts as H, ParentBranch as Hn, _let as Ht, _attr_select_value_default as I, BranchRenders as In, _for_selector as It, _attr_class_names as J, TagVariable as Jn, _var as Jt, _attr_class_item as K, PlaceholderBranch as Kn, _return_change as Kt, _attr_select_value_script as L, ClosestBranch as Ln, _global_read as Lt, _attr_input_value_default as M, Setup as Mn, _closure_get as Mt, _attr_input_value_dynamic_default as N, Pending as Nn, _const as Nt, _attr_input_checked_default as O, LocalClosures as On, ready as Ot, _attr_input_value_script as P, Scope as Pn, _el_read as Pt, _attr_style_item as Q, insertBranchBefore as Qt, _controllable_input as R, EndNode as Rn, _hoist as Rt, _attr_details_or_dialog_open_default as S, _assert_hoist as Sn, _el as St, _attr_input_checkedValue as T, withBranches as Tn, getRegisteredWithScope as Tt, controllableSpreadHelpers as U, PendingEffectScopes as Un, _let_change as Ut, _controllable_textarea as V, Load as Vn, _if_closure as Vt, _attr as W, PendingEffects as Wn, _or as Wt, _attr_nonce as X, _assert_init as Xt, _attr_content as Y, _var_change as Yt, _attr_style as Z, destroyBranch as Zt, patchDynamicTag as _, forIn as _n, _return_setup as _t, _for_in as a, $signalReset as an, _html as at, startAwait as b, forUntil as bn, setupBranch as bt, _for_to as c, installCatch as cn, _style_shell as ct, _for_until_unkeyed as d, queueEffect as dn, _to_text as dt, syncGen as en, _attrs as et, _if as f, queueRender as fn, insertChildNodes as ft, installDynamicTagVar as g, runId as gn, _content_resume as gt, dynamicTagScript as h, runEffects as hn, _content_closures as ht, _dynamic_tag_content as i, $signal as in, _attrs_script as it, _attr_input_value_attribute_default as j, Returns as jn, _closure as jt, _attr_input_checked_script as k, Owner as kn, readyFailed as kt, _for_to_unkeyed as l, prepareEffects as ln, _text as lt, _try as m, run as mn, _content as mt, _await_promise as n, PLACEHOLDER_DISMISS_REGISTER_ID as nn, _attrs_partial as nt, _for_of as o, createBranchRenders as on, _lifecycle as ot, _show as p, rendering as pn, toInsertNode as pt, _attr_class_items as q, StartNode as qn, _script as qt, _dynamic_tag as r, _on as rn, _attrs_partial_content as rt, _for_of_unkeyed as s, installBranchRenders as sn, _style_rule_item as st, _await_content as t, DYNAMIC_TAG_SCRIPT_REGISTER_ID as tn, _attrs_content as tt, _for_until as u, queueAsyncRender as un, _text_content as ut, renderCatch as v, forOf as vn, createAndSetupBranch as vt, _attr_input_checked as w, _call as wn, _var_resume as wt, _attr_details_or_dialog_open as x, _assert_class_toggles as xn, _dynamic_tag_var_resume as xt, runPendingEffects as y, forTo as yn, createBranch as yt, _controllable_open as z, Gen$1 as zn, _hoist_resume as zt };
2237
+ export { _attr_style_items as $, DYNAMIC_TAG_SCRIPT_REGISTER_ID as $t, _attr_input_value as A, Setup as An, _closure_get as At, _controllable_select as B, ParentBranch as Bn, _let as Bt, _attr_details_or_dialog_open_script as C, withBranches as Cn, getRegisteredWithScope as Ct, _attr_input_checkedValue_script as D, Owner as Dn, readyFailed as Dt, _attr_input_checkedValue_default as E, LocalClosures as En, ready as Et, _attr_select_value as F, ClosestBranch as Fn, _global_read as Ft, _attr_class as G, StartNode as Gn, _script as Gt, controllableScripts as H, PendingEffects as Hn, _or as Ht, _attr_select_value_default as I, EndNode as In, _hoist as It, _attr_class_names as J, _assert_init as Jt, _attr_class_item as K, TagVariable as Kn, _var as Kt, _attr_select_value_script as L, Gen$1 as Ln, _hoist_resume as Lt, _attr_input_value_default as M, Scope as Mn, _el_read as Mt, _attr_input_value_dynamic_default as N, AwaitCounter as Nn, _for_closure as Nt, _attr_input_checked_default as O, Params as On, withLazy as Ot, _attr_input_value_script as P, BranchRenders as Pn, _for_selector as Pt, _attr_style_item as Q, syncGen as Qt, _controllable_input as R, Global as Rn, _id as Rt, _attr_details_or_dialog_open_default as S, _call as Sn, _var_resume as St, _attr_input_checkedValue as T, Lazy as Tn, initEmbedded as Tt, controllableSpreadHelpers as U, PendingRenders as Un, _return as Ut, _controllable_textarea as V, PendingEffectScopes as Vn, _let_change as Vt, _attr as W, PlaceholderBranch as Wn, _return_change as Wt, _attr_nonce as X, insertBranchBefore as Xt, _attr_content as Y, destroyBranch as Yt, _attr_style as Z, removeAndDestroyBranch as Zt, patchDynamicTag as _, forTo as _n, createBranch as _t, _for_in as a, installBranchRenders as an, _html as at, startAwait as b, _assert_hoist as bn, _el as bt, _for_to as c, queueAsyncRender as cn, _style_shell as ct, _for_until_unkeyed as d, rendering as dn, _to_text as dt, PLACEHOLDER_DISMISS_REGISTER_ID as en, _attrs as et, _if as f, run as fn, _content as ft, installDynamicTagVar as g, forOf as gn, createAndSetupBranch as gt, dynamicTagScript as h, forIn as hn, _return_setup as ht, _dynamic_tag_content as i, createBranchRenders as in, _attrs_script as it, _attr_input_value_attribute_default as j, Pending as jn, _const as jt, _attr_input_checked_script as k, Returns as kn, _closure as kt, _for_to_unkeyed as l, queueEffect as ln, _text as lt, _try as m, runId as mn, _content_resume as mt, _await_promise as n, $signal as nn, _attrs_partial as nt, _for_of as o, installCatch as on, _lifecycle as ot, _show as p, runEffects as pn, _content_closures as pt, _attr_class_items as q, _var_change as qt, _dynamic_tag as r, $signalReset as rn, _attrs_partial_content as rt, _for_of_unkeyed as s, prepareEffects as sn, _style_rule_item as st, _await_content as t, _on as tn, _attrs_content as tt, _for_until as u, queueRender as un, _text_content as ut, renderCatch as v, forUntil as vn, setupBranch as vt, _attr_input_checked as w, Clone as wn, init as wt, _attr_details_or_dialog_open as x, _hoist_read_error as xn, _resumed as xt, runPendingEffects as y, _assert_class_toggles as yn, _dynamic_tag_var_resume as yt, _controllable_open as z, Load as zn, _if_closure as zt };