marko 6.3.55 → 6.4.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 (90) hide show
  1. package/cheatsheet.md +3 -2
  2. package/dist/common/accessor.d.ts +3 -0
  3. package/dist/common/accessor.debug.d.ts +3 -0
  4. package/dist/common/constants/accessor-prefix.d.ts +1 -0
  5. package/dist/common/constants/accessor-prefix.debug.d.ts +1 -0
  6. package/dist/common/constants/accessor-prop.d.ts +3 -0
  7. package/dist/common/constants/accessor-prop.debug.d.ts +3 -0
  8. package/dist/common/constants/closure-scopes-prop.d.ts +4 -0
  9. package/dist/common/constants/closure-scopes-prop.debug.d.ts +4 -0
  10. package/dist/common/types.d.ts +9 -3
  11. package/dist/debug/dom/catch.feat.js +12 -14
  12. package/dist/debug/dom/catch.feat.mjs +12 -14
  13. package/dist/debug/dom/controllable-input.feat.js +1 -1
  14. package/dist/debug/dom/controllable-input.feat.mjs +1 -1
  15. package/dist/debug/dom/controllable-open.feat.js +1 -1
  16. package/dist/debug/dom/controllable-open.feat.mjs +1 -1
  17. package/dist/debug/dom/controllable-select.feat.js +1 -1
  18. package/dist/debug/dom/controllable-select.feat.mjs +1 -1
  19. package/dist/debug/dom/controllable-textarea.feat.js +1 -1
  20. package/dist/debug/dom/controllable-textarea.feat.mjs +1 -1
  21. package/dist/debug/dom/controllable.feat.js +1 -1
  22. package/dist/debug/dom/controllable.feat.mjs +1 -1
  23. package/dist/debug/dom/dynamic-tag-script.feat.js +1 -1
  24. package/dist/debug/dom/dynamic-tag-script.feat.mjs +1 -1
  25. package/dist/debug/dom/dynamic-tag-var.feat.js +1 -1
  26. package/dist/debug/dom/dynamic-tag-var.feat.mjs +1 -1
  27. package/dist/debug/dom/lazy.feat.js +4 -0
  28. package/dist/debug/dom/lazy.feat.mjs +4 -0
  29. package/dist/debug/dom/placeholder.feat.js +1 -1
  30. package/dist/debug/dom/placeholder.feat.mjs +1 -1
  31. package/dist/debug/{dom-CI0Vojyk.js → dom-BRO5aArp.js} +248 -193
  32. package/dist/debug/{dom-tl43c2wO.mjs → dom-Btj2QJhk.mjs} +225 -176
  33. package/dist/debug/dom.js +15 -13
  34. package/dist/debug/dom.mjs +15 -13
  35. package/dist/debug/html.js +605 -523
  36. package/dist/debug/html.mjs +604 -524
  37. package/dist/dom/abort-signal.d.ts +2 -0
  38. package/dist/dom/catch.feat.js +6 -7
  39. package/dist/dom/catch.feat.mjs +5 -7
  40. package/dist/dom/control-flow.d.ts +3 -5
  41. package/dist/dom/controllable-input.feat.js +3 -2
  42. package/dist/dom/controllable-input.feat.mjs +1 -1
  43. package/dist/dom/controllable-open.feat.js +3 -2
  44. package/dist/dom/controllable-open.feat.mjs +1 -1
  45. package/dist/dom/controllable-select.feat.js +3 -2
  46. package/dist/dom/controllable-select.feat.mjs +1 -1
  47. package/dist/dom/controllable-textarea.feat.js +3 -2
  48. package/dist/dom/controllable-textarea.feat.mjs +1 -1
  49. package/dist/dom/controllable.feat.js +3 -2
  50. package/dist/dom/controllable.feat.mjs +1 -1
  51. package/dist/dom/dynamic-tag-script.feat.js +3 -2
  52. package/dist/dom/dynamic-tag-script.feat.mjs +1 -1
  53. package/dist/dom/dynamic-tag-var.feat.js +2 -1
  54. package/dist/dom/dynamic-tag-var.feat.mjs +1 -1
  55. package/dist/dom/lazy.feat.d.ts +1 -0
  56. package/dist/dom/lazy.feat.js +4 -0
  57. package/dist/dom/lazy.feat.mjs +4 -0
  58. package/dist/dom/load.d.ts +3 -3
  59. package/dist/dom/placeholder.feat.js +4 -3
  60. package/dist/dom/placeholder.feat.mjs +1 -1
  61. package/dist/dom/queue.d.ts +2 -4
  62. package/dist/dom/resume.d.ts +2 -2
  63. package/dist/dom/scope.d.ts +0 -1
  64. package/dist/dom/signals.d.ts +1 -1
  65. package/dist/{dom-4udEPZaj.mjs → dom-B-v8Gw6T.mjs} +122 -92
  66. package/dist/{dom-C1mr-TA7.js → dom-BSsI9OPC.js} +218 -187
  67. package/dist/dom.d.ts +1 -1
  68. package/dist/dom.js +59 -56
  69. package/dist/dom.mjs +35 -33
  70. package/dist/html/attrs.d.ts +2 -0
  71. package/dist/html/writer.d.ts +5 -11
  72. package/dist/html.d.ts +1 -1
  73. package/dist/html.js +367 -327
  74. package/dist/html.mjs +366 -327
  75. package/dist/translator/index.js +866 -748
  76. package/dist/translator/util/binding-has-prop.d.ts +2 -0
  77. package/dist/translator/util/entry-builder.d.ts +2 -0
  78. package/dist/translator/util/generate-uid.d.ts +5 -0
  79. package/dist/translator/util/optional.d.ts +1 -3
  80. package/dist/translator/util/references.d.ts +6 -2
  81. package/dist/translator/util/runtime.d.ts +3 -3
  82. package/dist/translator/util/sections.d.ts +8 -2
  83. package/dist/translator/util/serialize-reasons.d.ts +3 -1
  84. package/dist/translator/util/setup-work.d.ts +5 -0
  85. package/dist/translator/util/signals.d.ts +5 -7
  86. package/dist/translator/util/translate-attrs.d.ts +2 -1
  87. package/dist/translator/visitors/tag/native-tag.d.ts +1 -0
  88. package/package.json +3 -3
  89. package/tags-html.d.ts +4 -3
  90. package/dist/translator/util/setup-statements.d.ts +0 -5
@@ -1,16 +1,19 @@
1
+ "use strict";
1
2
  let unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "\\3B " : "\\\\", toDelimitedString = function toDelimitedString(val, delimiter, stringify) {
2
3
  let str = "", sep = "", part;
3
- if (val) if (typeof val != "object") str += val;
4
- else if (Array.isArray(val)) for (let v of val) part = toDelimitedString(v, delimiter, stringify), part && (str += sep + part, sep = delimiter);
5
- else for (let name in val) part = stringify(name, val[name]), part && (str += sep + part, sep = delimiter);
4
+ if (val) {
5
+ if (typeof val != "object") str += val;
6
+ else if (Array.isArray(val)) for (let v of val) part = toDelimitedString(v, delimiter, stringify), part && (str += sep + part, sep = delimiter);
7
+ else for (let name in val) part = stringify(name, val[name]), part && (str += sep + part, sep = delimiter);
8
+ }
6
9
  return str;
7
- }, decodeAccessor = (num) => (num + (num < 26 ? 10 : num < 962 ? 334 : 11998)).toString(36), branchesEnabled, dynamicHtmlEnabled, rendering, runId = 2, caughtError = /* @__PURE__ */ new WeakSet(), placeholderShown = /* @__PURE__ */ new WeakSet(), pendingEffects = [], pendingRenders = [], runEffects = ((effects) => {
10
+ }, decodeAccessor = (num) => (num + (num < 26 ? 10 : num < 962 ? 334 : 11998)).toString(36), branchesEnabled, dynamicHtmlEnabled, rendering, runId = 2, pendingEffects = [], pendingRenders = [], runEffects = ((effects) => {
8
11
  for (let i = 0; i < effects.length;) effects[i++](effects[i++]);
9
12
  }), runRender = (render) => {
10
13
  (!branchesEnabled || render.b.F?.H !== 0) && render.c(render.b, render.d);
11
14
  }, catchEnabled, abortsEnabled, subscriptionsEnabled, delegate = (type, handler) => handler[1 + type] ||= (document.addEventListener(type, handler, !0), 1), parsers = {}, nextScopeId = 1e6, collectingScopes, destroyNestedScopes = function destroyNestedScopes(scope) {
12
15
  scope.H = 0, scope.D?.forEach(destroyNestedScopes), scope.B?.forEach(cleanupScope);
13
- }, isScheduled, channel, _return = (scope, value) => scope.T?.(value), _var_change = (scope, value) => scope.U?.(value), tagIdsByGlobal = /* @__PURE__ */ new WeakMap(), currentNode, walkInternal = function walkInternal(currentWalkIndex, walkCodes, scope) {
16
+ }, isScheduled, channel, _return = (scope, value) => scope.T ? scope.T(value) : scope.RV = value, _var_change = (scope, value) => scope.U?.(value), tagIdsByGlobal = /* @__PURE__ */ new WeakMap(), currentNode, walkInternal = function walkInternal(currentWalkIndex, walkCodes, scope) {
14
17
  let value, currentMultiplier, storedMultiplier = 0, currentScopeIndex = 0;
15
18
  for (; currentWalkIndex < walkCodes.length;) if (value = walkCodes.charCodeAt(currentWalkIndex++), currentMultiplier = storedMultiplier, storedMultiplier = 0, value === 32) scope[decodeAccessor(currentScopeIndex++)] = currentNode;
16
19
  else if (value === 37 || value === 49) currentNode.replaceWith(currentNode = scope[decodeAccessor(currentScopeIndex++)] = new Text()), value === 49 && (scope[decodeAccessor(currentScopeIndex++)] = skipScope());
@@ -67,13 +70,15 @@ let unsafeStyleAttrReg = /[\\;]/g, replaceUnsafeStyleAttr = (c) => c === ";" ? "
67
70
  if (normalizedRenderer) {
68
71
  let childScope = scope[childScopeAccessor], args = getInput?.();
69
72
  if (typeof normalizedRenderer == "string") (getContent ? _attrs : _attrs_content)(childScope, "a", (inputIsArgs ? args[0] : args) || {}, controllableRenders[childScope.a.tagName]), (childScope.Ia || childScope.Ea) && queueEffect(childScope, dynamicTagScript);
70
- else if (normalizedRenderer.g?.(childScope), normalizedRenderer.d) if (inputIsArgs) normalizedRenderer.d(childScope, normalizedRenderer._ ? args[0] : args);
71
- else {
72
- let inputWithContent = getContent ? {
73
- ...args,
74
- content: getContent(scope)
75
- } : args || {};
76
- normalizedRenderer.d(childScope, normalizedRenderer._ ? inputWithContent : [inputWithContent]);
73
+ else if (normalizedRenderer.g?.(childScope), normalizedRenderer.d) {
74
+ if (inputIsArgs) normalizedRenderer.d(childScope, normalizedRenderer._ ? args[0] : args);
75
+ else {
76
+ let inputWithContent = getContent ? {
77
+ ...args,
78
+ content: getContent(scope)
79
+ } : args || {};
80
+ normalizedRenderer.d(childScope, normalizedRenderer._ ? inputWithContent : [inputWithContent]);
81
+ }
77
82
  }
78
83
  }
79
84
  };
@@ -232,8 +237,8 @@ function prepareEffects(fn) {
232
237
  }
233
238
  return preparedEffects;
234
239
  }
235
- function installCatch(wrapEffects, wrapRender) {
236
- catchEnabled = 1, withBranches(), runEffects = wrapEffects(runEffects), runRender = wrapRender(runRender);
240
+ function installCatch(catchEffects, wrapRender) {
241
+ catchEnabled = 1, withBranches(), runEffects = catchEffects, runRender = wrapRender(runRender);
237
242
  }
238
243
  function runRenders() {
239
244
  for (; pendingRenders.length;) {
@@ -259,6 +264,10 @@ function $signalReset(scope, id) {
259
264
  function $signal(scope, id) {
260
265
  return abortsEnabled = 1, trackCleanup(scope), ((scope.A ||= {})[id] ||= new AbortController()).signal;
261
266
  }
267
+ /** Runs `abort` as a destroyed scope's `$signal` would fire, without creating one. */
268
+ function trackAbort(scope, id, abort) {
269
+ abortsEnabled = 1, trackCleanup(scope), (scope.A ||= {})[id] = { abort };
270
+ }
262
271
  /** Enrols `scope` with its branch so destroying the branch cleans it up. */
263
272
  function trackCleanup(scope, subscribers) {
264
273
  let branch = scope.F;
@@ -273,8 +282,10 @@ function toArray(opt) {
273
282
  return opt ? Array.isArray(opt) ? opt : [opt] : [];
274
283
  }
275
284
  function forEach(opt, cb) {
276
- if (opt) if (Array.isArray(opt)) for (let item of opt) cb(item);
277
- else cb(opt);
285
+ if (opt) {
286
+ if (Array.isArray(opt)) for (let item of opt) cb(item);
287
+ else cb(opt);
288
+ }
278
289
  }
279
290
  function push(opt, item) {
280
291
  return opt ? Array.isArray(opt) ? (opt.push(item), opt) : [opt, item] : item;
@@ -323,11 +334,6 @@ function collectScopes(fn) {
323
334
  function skipScope() {
324
335
  return nextScopeId++;
325
336
  }
326
- function findBranchWithKey(scope, key) {
327
- let branch = scope.F;
328
- for (; branch && branch[key] == null;) branch = branch.N;
329
- return branch;
330
- }
331
337
  function destroyBranch(branch) {
332
338
  branch.N?.D?.delete(branch), destroyNestedScopes(branch);
333
339
  }
@@ -439,16 +445,19 @@ function _closure(...closureSignals) {
439
445
  let [firstSignal] = closureSignals, scopeInstances = firstSignal.a, signalIndex = firstSignal.b;
440
446
  for (let i = closureSignals.length; i--;) closureSignals[i].c = i;
441
447
  return (scope) => {
442
- if (scope[scopeInstances]) for (let childScope of scope[scopeInstances]) childScope.H > 0 && childScope.H < runId && queueRender(childScope, closureSignals[childScope[signalIndex] || 0], -1);
448
+ if (scope[scopeInstances]) {
449
+ scope[scopeInstances]._ = 1;
450
+ for (let childScope of scope[scopeInstances]) childScope.H > 0 && childScope.H < runId && queueRender(childScope, closureSignals[childScope[signalIndex] || 0], -1);
451
+ }
443
452
  };
444
453
  }
445
- function _closure_get(valueAccessor, fn, getOwnerScope, resumeId, ownerValueAccessor) {
454
+ function _closure_get(valueAccessor, fn, getOwnerScope, resumeId) {
446
455
  valueAccessor = decodeAccessor(valueAccessor);
447
456
  let closureSignal = ((scope, resumed) => {
448
457
  let ownerScope = getOwnerScope ? getOwnerScope(scope) : scope._;
449
- scope[closureSignal.b] = closureSignal.c, (!resumed || ownerValueAccessor in ownerScope) && fn(scope), subscribeToScopeSet(ownerScope, closureSignal.a, scope);
458
+ scope[closureSignal.b] = closureSignal.c, resumed ? ownerScope[closureSignal.a]._ && queueAsyncRender(scope, closureSignal) : fn(scope), subscribeToScopeSet(ownerScope, closureSignal.a, scope);
450
459
  });
451
- return closureSignal.a = valueAccessor, closureSignal.b = "C" + valueAccessor, resumeId && (ownerValueAccessor = decodeAccessor(ownerValueAccessor), _resumed[resumeId] = (scope) => closureSignal(scope, 1)), closureSignal;
460
+ return closureSignal.a = valueAccessor, closureSignal.b = "C" + valueAccessor, resumeId && (_resumed[resumeId] = (scope) => closureSignal(scope, 1)), closureSignal;
452
461
  }
453
462
  function _child_setup(setup) {
454
463
  return setup._ = (scope, owner) => {
@@ -456,7 +465,8 @@ function _child_setup(setup) {
456
465
  }, setup;
457
466
  }
458
467
  function _var(scope, childAccessor, signal) {
459
- scope[decodeAccessor(childAccessor)].T = (value) => signal(scope, value);
468
+ let childScope = scope[decodeAccessor(childAccessor)];
469
+ childScope.T = (value) => signal(scope, value), "RV" in childScope && signal(scope, childScope.RV);
460
470
  }
461
471
  function _return_change(scope, changeHandler) {
462
472
  scope.U = changeHandler || void 0;
@@ -475,16 +485,18 @@ function _script(id, fn) {
475
485
  };
476
486
  }
477
487
  function _global_read($global, key) {
478
- return key in $global || console.error(`\`$global.${key}\` is not serialized to the client, so this read is \`undefined\`. Add \`${key}\` to \`serializedGlobals\` at the render call.`), $global[key];
488
+ return $global[key];
479
489
  }
480
490
  function _el_read(value) {
481
491
  return value;
482
492
  }
483
493
  function* traverse(scope, path, args, i = path.length - 1) {
484
- if (scope) if (Symbol.iterator in scope) for (let childScope of scope.values()) childScope.H !== 0 && (yield* traverse(childScope, path, args, i));
485
- else {
486
- let item = scope[path[i]];
487
- i ? yield* traverse(item, path, args, i - 1) : yield typeof item == "function" ? item(...args) : item;
494
+ if (scope) {
495
+ if (Symbol.iterator in scope) for (let childScope of scope.values()) childScope.H !== 0 && (yield* traverse(childScope, path, args, i));
496
+ else {
497
+ let item = scope[path[i]];
498
+ i ? yield* traverse(item, path, args, i - 1) : yield typeof item == "function" ? item(...args) : item;
499
+ }
488
500
  }
489
501
  }
490
502
  function _hoist(...path) {
@@ -509,8 +521,8 @@ function ready(readyId) {
509
521
  for (let renderId in curRenders) runResumeEffects(curRenders[renderId]);
510
522
  }
511
523
  function readyFailed(readyId) {}
512
- function withLazy(runtime) {
513
- return lazyEnabled = 1, runtime;
524
+ function withLazy() {
525
+ lazyEnabled = 1;
514
526
  }
515
527
  function initEmbedded(readyId, runtimeId) {
516
528
  embedRenders || (embedRenders = /* @__PURE__ */ new Map(), new MutationObserver(() => {
@@ -544,7 +556,7 @@ function init(runtimeId = "M") {
544
556
  }
545
557
  for (visitType !== "[" && (visitScope[nextToken()] = visitType === ")" || visitType === "}" ? parent : visit, accessor = "A" + (nodeAccessor = lastToken), singleNode = visitType !== "]" && visitType !== ")", nextToken()); branchId = +lastToken;) {
546
558
  if ((endedBranches ||= []).push(branch = getScope(branchId)), setParentBranch(branch, branch.F), (branch.O = render.p?.[branchId]) && (branch.O.m = render.m), singleNode) {
547
- for (; startVisit.previousSibling && ~visits.indexOf(startVisit = startVisit.previousSibling););
559
+ for (; startVisit.previousSibling && (startVisit = startVisit.previousSibling).nodeType > 1;);
548
560
  branch._ ??= visitScope, branch.K = branch.S = startVisit, visitType === "(" && (branch.a = startVisit);
549
561
  } else branch.C = nodeAccessor, curBranchScopes = push(curBranchScopes, branch), accessor && (visitScope[accessor] = curBranchScopes, forEach(curBranchScopes, (scope) => scope._ ??= visitScope), curBranchScopes = branchScopesStack.pop()), startVisit = branchStarts.pop(), parent !== startVisit.parentNode && parent.prepend(startVisit), branch.S = startVisit, branch.K = visit.previousSibling === startVisit ? startVisit : parent.insertBefore(new Text(), visit);
550
562
  for (; pending.at(-1)?.L >= branchId;) adopt(pending.pop(), branch);
@@ -596,7 +608,7 @@ function init(runtimeId = "M") {
596
608
  }
597
609
  function runResumeEffects(render) {
598
610
  try {
599
- isResuming = 1, runEffects(render.m([]), 1);
611
+ isResuming = 1, runEffects(render.m([]));
600
612
  } finally {
601
613
  isResuming = 0;
602
614
  }
@@ -610,7 +622,7 @@ function _var_resume(id, signal) {
610
622
  function _el(id, accessor) {
611
623
  return accessor = decodeAccessor(accessor), _resumed[id] = (scope) => () => scope[accessor];
612
624
  }
613
- function _resume_dynamic_tag_var(accessor) {
625
+ function _dynamic_tag_var_resume(accessor) {
614
626
  accessor = decodeAccessor(accessor), _resumed["-" + accessor] = (scope) => () => {
615
627
  let node = scope[accessor];
616
628
  return node.nodeType === 8 ? node.previousSibling : node;
@@ -768,9 +780,7 @@ function attrsInternal(scope, nodeAccessor, nextAttrs, controllable) {
768
780
  case "style":
769
781
  _attr_style(el, value);
770
782
  break;
771
- default:
772
- isEventHandler(name) ? (events ||= scope["I" + nodeAccessor] = {})[getEventHandlerName(name)] = value : skip?.test(name) || name === "content" && el.tagName !== "META" || _attr(el, name, value);
773
- break;
783
+ default: isEventHandler(name) ? (events ||= scope["I" + nodeAccessor] = {})[getEventHandlerName(name)] = value : skip?.test(name) || name === "content" && el.tagName !== "META" || _attr(el, name, value);
774
784
  }
775
785
  }
776
786
  }
@@ -792,7 +802,7 @@ function normalizeAttrValue(value) {
792
802
  }
793
803
  function _lifecycle(scope, thisObj, index = 0) {
794
804
  let accessor = "K" + index, instance = scope[accessor];
795
- instance ? (Object.assign(instance, thisObj), instance.onUpdate?.()) : (scope[accessor] = thisObj, Object.assign(thisObj, thisObj.onMount?.()), $signal(scope, accessor).onabort = () => thisObj.onDestroy?.());
805
+ instance ? (Object.assign(instance, thisObj), instance.onUpdate?.()) : (scope[accessor] = thisObj, Object.assign(thisObj, thisObj.onMount?.()), trackAbort(scope, accessor, () => thisObj.onDestroy?.()));
796
806
  }
797
807
  function removeChildNodes(startNode, endNode) {
798
808
  let stop = endNode.nextSibling;
@@ -929,14 +939,16 @@ function _attr_select_value_script(scope, nodeAccessor) {
929
939
  setSelectValue(el, oldValue, multiple), valueChange(newValue), run();
930
940
  }
931
941
  };
932
- if (isResuming) if (el.multiple) {
933
- scope["G" + nodeAccessor] = [];
934
- for (let opt of el.options) opt.defaultSelected && scope["G" + nodeAccessor].push(opt.value);
935
- } else {
936
- scope["G" + nodeAccessor] = "";
937
- for (let opt of el.options) if (opt.defaultSelected) {
938
- scope["G" + nodeAccessor] = opt.value;
939
- break;
942
+ if (isResuming) {
943
+ if (el.multiple) {
944
+ scope["G" + nodeAccessor] = [];
945
+ for (let opt of el.options) opt.defaultSelected && scope["G" + nodeAccessor].push(opt.value);
946
+ } else {
947
+ scope["G" + nodeAccessor] = "";
948
+ for (let opt of el.options) if (opt.defaultSelected) {
949
+ scope["G" + nodeAccessor] = opt.value;
950
+ break;
951
+ }
940
952
  }
941
953
  }
942
954
  syncControllableFormInput(el, hasSelectChanged, onChange), observeOnce(scope, nodeAccessor, {
@@ -1022,23 +1034,25 @@ function _controllable_open(scope, nodeAccessor, nextAttrs) {
1022
1034
  //#region src/dom/control-flow.ts
1023
1035
  function _await_promise(nodeAccessor, params) {
1024
1036
  nodeAccessor = decodeAccessor(nodeAccessor);
1025
- let promiseAccessor = "L" + nodeAccessor, branchAccessor = "A" + nodeAccessor, resolveAwait = (scope, referenceNode, value) => {
1037
+ let promiseAccessor = "L" + nodeAccessor, branchAccessor = "A" + nodeAccessor, tryAccessor = "Q" + nodeAccessor, resolveAwait = (scope, referenceNode, value) => {
1026
1038
  let awaitBranch = scope[branchAccessor];
1027
1039
  return awaitBranch.V && (awaitBranch.Y = awaitBranch.Y?.forEach(syncGen), setupBranch(awaitBranch.V, awaitBranch), awaitBranch.V = 0, insertBranchBefore(awaitBranch, scope[nodeAccessor].parentNode, scope[nodeAccessor]), referenceNode.remove()), params?.(awaitBranch, [value]), awaitBranch;
1028
1040
  }, awaitPromise = (scope, promise) => {
1029
1041
  isPromise(scope[promiseAccessor]) || (scope[promiseAccessor] = 0);
1030
- let awaitBranch = scope[branchAccessor], tryPlaceholder = (isPromise(promise) || scope[promiseAccessor]) && findBranchWithKey(scope, "Q"), tryBranch = tryPlaceholder || awaitBranch;
1042
+ let awaitBranch = scope[branchAccessor], tryBranch = scope[tryAccessor] || isPromise(promise) && findTryWithPlaceholder(scope) || awaitBranch;
1031
1043
  if (!tryBranch) {
1032
- let replay = scope[promiseAccessor] = () => replay === scope[promiseAccessor] && awaitPromise(scope, promise), awaitCounter = findBranchWithKey(scope, "Q")?.O;
1044
+ let deferred = scope[promiseAccessor] = () => deferred === scope[promiseAccessor] && awaitPromise(scope, promise), awaitCounter = findTryWithPlaceholder(scope)?.O;
1033
1045
  if (awaitCounter?.i) {
1034
1046
  let complete = awaitCounter.c;
1035
- awaitCounter.c = () => complete() || queueAsyncRender(scope, replay);
1047
+ awaitCounter.c = () => complete() || queueAsyncRender(scope, deferred);
1036
1048
  }
1037
1049
  return;
1038
1050
  }
1039
- if (!isPromise(promise)) return scope[promiseAccessor] ? awaitPromise(scope, Promise.resolve(promise)) : resolveAwait(scope, scope[nodeAccessor], promise);
1051
+ if (!isPromise(promise)) return scope[tryAccessor] ? awaitPromise(scope, Promise.resolve(promise)) : resolveAwait(scope, scope[nodeAccessor], promise);
1040
1052
  let awaitCounter = tryBranch.O;
1041
- placeholderShown.add(pendingEffects), !tryPlaceholder && !awaitCounter?.i && (awaitCounter = createAwaitCounter(tryBranch, () => {
1053
+ scope[tryAccessor] || (scope[tryAccessor] = tryBranch, trackAbort(scope, promiseAccessor, () => {
1054
+ scope[promiseAccessor] = 0, scope[tryAccessor] && queueAsyncRender(scope[tryAccessor], completeAwaitCounter, awaitCounter);
1055
+ }), awaitBranch && (awaitBranch.W ||= []), tryBranch === awaitBranch ? (awaitCounter?.i || (awaitCounter = createAwaitCounter(tryBranch, () => {
1042
1056
  if (tryBranch === scope[branchAccessor]) {
1043
1057
  let anchor = scope[nodeAccessor];
1044
1058
  if (anchor.parentNode) {
@@ -1046,34 +1060,22 @@ function _await_promise(nodeAccessor, params) {
1046
1060
  detachedParent === anchor.parentNode ? anchor.remove() : anchor.replaceWith(detachedParent);
1047
1061
  }
1048
1062
  }
1049
- })), scope[promiseAccessor] || (awaitBranch && (awaitBranch.W ||= []), tryPlaceholder ? awaitCounter = addAwaitCounter(scope, tryPlaceholder) : scheduleAwaitFrame(awaitCounter, scope, () => {
1063
+ })), scheduleAwaitFrame(awaitCounter, scope, () => {
1050
1064
  awaitBranch.V || (awaitBranch.S.parentNode.insertBefore(scope[nodeAccessor], awaitBranch.S), tempDetachBranch(tryBranch));
1051
- }));
1065
+ })) : awaitCounter = addAwaitCounter(scope, tryBranch));
1052
1066
  let thisPromise = scope[promiseAccessor] = promise.then((data) => {
1053
1067
  if (thisPromise === scope[promiseAccessor]) {
1054
1068
  let referenceNode = scope[nodeAccessor];
1055
- if (scope[promiseAccessor] = 0, !scope[branchAccessor] || scope.F?.H === 0) {
1056
- scope[branchAccessor] || awaitPromise(scope, data), awaitCounter.c(), run();
1057
- return;
1058
- }
1059
- queueAsyncRender(scope, () => {
1060
- awaitBranch = resolveAwait(scope, referenceNode, data);
1061
- let pendingRenders = awaitBranch.W;
1062
- if (awaitBranch.W = 0, pendingRenders?.forEach(queuePendingRender), placeholderShown.add(pendingEffects), awaitCounter.c(), awaitCounter.m) {
1063
- let fnScopes = /* @__PURE__ */ new Map(), effects = awaitCounter.m([]);
1064
- for (let i = 0; i < pendingEffects.length;) {
1065
- let fn = pendingEffects[i++], scopes = fnScopes.get(fn);
1066
- scopes || fnScopes.set(fn, scopes = /* @__PURE__ */ new Set()), scopes.add(pendingEffects[i++]);
1067
- }
1068
- for (let i = 0; i < effects.length;) {
1069
- let fn = effects[i++], scope = effects[i++];
1070
- fnScopes.get(fn)?.has(scope) || queueEffect(scope, fn);
1071
- }
1069
+ scope[promiseAccessor] = 0, scope[branchAccessor] ? queueAsyncRender(scope, () => {
1070
+ if (!scope[promiseAccessor]) {
1071
+ awaitBranch = resolveAwait(scope, referenceNode, data);
1072
+ let pendingRenders = awaitBranch.W;
1073
+ awaitBranch.W = 0, pendingRenders?.forEach(queuePendingRender), scope[tryAccessor] = 0, queueCompleteAwaitCounter(tryBranch, awaitCounter);
1072
1074
  }
1073
- });
1075
+ }) : (scope[tryAccessor] = 0, awaitPromise(scope, data), awaitCounter.c(), run());
1074
1076
  }
1075
1077
  }, (error) => {
1076
- thisPromise === scope[promiseAccessor] && (scope[promiseAccessor] = 0, tryPlaceholder && !awaitCounter.m ? awaitCounter.c() : awaitCounter.i = 0, queueAsyncRender(scope, renderCatch, error));
1078
+ thisPromise === scope[promiseAccessor] && (scope[promiseAccessor] = scope[tryAccessor] = 0, queueAsyncRender(scope, renderCatch, error), tryBranch !== awaitBranch && !awaitCounter.m ? findTryWithCatch(scope) ? queueCompleteAwaitCounter(tryBranch, awaitCounter) : awaitCounter.c() : awaitCounter.i = 0);
1077
1079
  });
1078
1080
  };
1079
1081
  return awaitPromise;
@@ -1086,16 +1088,32 @@ function _await_content(nodeAccessor, template, walks, setup) {
1086
1088
  scope[branchAccessor].Y = pendingScopes, typeof scope[promiseAccessor] == "function" && scope[promiseAccessor]();
1087
1089
  };
1088
1090
  }
1089
- function addAwaitCounter(scope, tryBranch = findBranchWithKey(scope, "Q")) {
1091
+ function addAwaitCounter(scope, tryBranch = findTryWithPlaceholder(scope)) {
1090
1092
  if (!tryBranch) return;
1091
1093
  let awaitCounter = tryBranch.O;
1092
- return awaitCounter?.i || (awaitCounter = createAwaitCounter(tryBranch, () => dismissPlaceholder(tryBranch))), placeholderShown.add(pendingEffects), scheduleAwaitFrame(awaitCounter, tryBranch, () => {
1093
- insertBranchBefore(tryBranch.P = createAndSetupBranch(tryBranch.$, tryBranch.Q, tryBranch._, tryBranch.S.parentNode), tryBranch.S.parentNode, tryBranch.S), tempDetachBranch(tryBranch);
1094
+ return awaitCounter?.i || (awaitCounter = createAwaitCounter(tryBranch, () => dismissPlaceholder(tryBranch))), scheduleAwaitFrame(awaitCounter, tryBranch, () => {
1095
+ (tryBranch.P = createAndSetupBranch(tryBranch.$, tryBranch.Q(), tryBranch._, tryBranch.S.parentNode)).PT = tryBranch, insertBranchBefore(tryBranch.P, tryBranch.S.parentNode, tryBranch.S), tempDetachBranch(tryBranch);
1094
1096
  }), awaitCounter;
1095
1097
  }
1096
1098
  function scheduleAwaitFrame(awaitCounter, scope, render) {
1097
1099
  awaitCounter.i++ || requestAnimationFrame(() => awaitCounter.i && runEffects(prepareEffects(() => queueRender(scope, render, -1))));
1098
1100
  }
1101
+ function queueCompleteAwaitCounter(tryBranch, awaitCounter) {
1102
+ queueRender(tryBranch, completeAwaitCounter, -1, awaitCounter, tryBranch.L + 1e9);
1103
+ }
1104
+ function completeAwaitCounter(_scope, awaitCounter) {
1105
+ if (awaitCounter.c(), awaitCounter.m) {
1106
+ let fnScopes = /* @__PURE__ */ new Map(), effects = awaitCounter.m([]);
1107
+ for (let i = 0; i < pendingEffects.length;) {
1108
+ let fn = pendingEffects[i++], scopes = fnScopes.get(fn);
1109
+ scopes || fnScopes.set(fn, scopes = /* @__PURE__ */ new Set()), scopes.add(pendingEffects[i++]);
1110
+ }
1111
+ for (let i = 0; i < effects.length;) {
1112
+ let fn = effects[i++], scope = effects[i++];
1113
+ fnScopes.get(fn)?.has(scope) || queueEffect(scope, fn);
1114
+ }
1115
+ }
1116
+ }
1099
1117
  function createAwaitCounter(tryBranch, done) {
1100
1118
  let awaitCounter = tryBranch.O = {
1101
1119
  i: 0,
@@ -1106,30 +1124,41 @@ function createAwaitCounter(tryBranch, done) {
1106
1124
  };
1107
1125
  return awaitCounter;
1108
1126
  }
1109
- function runPendingEffects(scope) {
1110
- let effects = scope.J;
1111
- effects && (scope.J = [], runEffects(effects, 1));
1127
+ function runPendingEffects(tryBranch) {
1128
+ tryBranch.JS?.forEach((scope) => scope.J.forEach((fn) => runEffects([fn, scope]), scope.J = null), tryBranch.JS = null);
1112
1129
  }
1113
1130
  function dismissPlaceholder(tryBranch) {
1114
1131
  let placeholderBranch = tryBranch.P;
1115
1132
  placeholderBranch && (tryBranch.P = 0, placeholderBranch.S.parentNode.insertBefore(tryBranch.S.parentNode, placeholderBranch.S), removeAndDestroyBranch(placeholderBranch));
1116
1133
  }
1117
- function _try(nodeAccessor, template, walks, setup) {
1134
+ function _try(nodeAccessor, template, walks, setup, placeholderContent, catchContent) {
1118
1135
  nodeAccessor = decodeAccessor(nodeAccessor);
1119
1136
  let branchAccessor = "A" + nodeAccessor, renderer = _content("", template, walks, setup)();
1120
- return (scope, input) => {
1121
- scope[branchAccessor] || setConditionalRenderer(scope, nodeAccessor, renderer, createAndSetupBranch);
1137
+ return (scope) => {
1138
+ setConditionalRenderer(scope, nodeAccessor, renderer, createAndSetupBranch);
1122
1139
  let branch = scope[branchAccessor];
1123
- branch && (branch.C = nodeAccessor, branch.E = input.catch && (normalizeDynamicRenderer(input.catch) || 0), branch.Q = normalizeDynamicRenderer(input.placeholder));
1140
+ branch.C = nodeAccessor, branch.E = catchContent, branch.Q = placeholderContent || void 0;
1124
1141
  };
1125
1142
  }
1126
1143
  function renderCatch(scope, error) {
1127
- let tryWithCatch = findBranchWithKey(scope, "E");
1144
+ let tryWithCatch = findTryWithCatch(scope);
1128
1145
  if (tryWithCatch) {
1129
1146
  let owner = tryWithCatch._, placeholderBranch = tryWithCatch.P;
1130
- placeholderBranch && (tryWithCatch.O && (tryWithCatch.O.i = 0), owner["A" + tryWithCatch.C] = placeholderBranch, destroyBranch(tryWithCatch)), caughtError.add(pendingEffects), setConditionalRenderer(owner, tryWithCatch.C, tryWithCatch.E, createAndSetupBranch), tryWithCatch.E?.d?.(owner["A" + tryWithCatch.C], [error]);
1147
+ placeholderBranch && (tryWithCatch.O && (tryWithCatch.O.i = 0), owner["A" + tryWithCatch.C] = placeholderBranch, destroyBranch(tryWithCatch));
1148
+ let catchContent = tryWithCatch.E();
1149
+ setConditionalRenderer(owner, tryWithCatch.C, catchContent, createAndSetupBranch), catchContent.d?.(owner["A" + tryWithCatch.C], [error]);
1131
1150
  } else throw error;
1132
1151
  }
1152
+ function findTryWithPlaceholder(scope) {
1153
+ let branch = scope.F;
1154
+ for (; branch && !branch.Q;) branch = branch.N;
1155
+ return branch;
1156
+ }
1157
+ function findTryWithCatch(scope) {
1158
+ let branch = scope.F;
1159
+ for (; branch && !branch.E;) branch = branch.PT || branch.N;
1160
+ return branch;
1161
+ }
1133
1162
  function rendererKey(renderer) {
1134
1163
  return renderer?.e ? renderer.a + " " + renderer.e.L : renderer?.a || renderer;
1135
1164
  }
@@ -1149,10 +1178,12 @@ function setConditionalRenderer(scope, nodeAccessor, newRenderer, createBranch)
1149
1178
  function reorderKeyed(newScopes, start, newEnd, parentNode, afterReference) {
1150
1179
  let diffLen = newEnd - start + 1, sources = Array(diffLen), pred = Array(diffLen), tails = [], tail = -1, lo, hi, mid;
1151
1180
  for (let i = diffLen; i--;) sources[i] = newScopes[start + i].I ?? -1;
1152
- for (let i = 0; i < diffLen; i++) if (~sources[i]) if (tail < 0 || sources[tails[tail]] < sources[i]) ~tail && (pred[i] = tails[tail]), tails[++tail] = i;
1153
- else {
1154
- for (lo = 0, hi = tail; lo < hi;) mid = (lo + hi) / 2 | 0, sources[tails[mid]] < sources[i] ? lo = mid + 1 : hi = mid;
1155
- sources[i] < sources[tails[lo]] && (lo > 0 && (pred[i] = tails[lo - 1]), tails[lo] = i);
1181
+ for (let i = 0; i < diffLen; i++) if (~sources[i]) {
1182
+ if (tail < 0 || sources[tails[tail]] < sources[i]) ~tail && (pred[i] = tails[tail]), tails[++tail] = i;
1183
+ else {
1184
+ for (lo = 0, hi = tail; lo < hi;) mid = (lo + hi) / 2 | 0, sources[tails[mid]] < sources[i] ? lo = mid + 1 : hi = mid;
1185
+ sources[i] < sources[tails[lo]] && (lo > 0 && (pred[i] = tails[lo - 1]), tails[lo] = i);
1186
+ }
1156
1187
  }
1157
1188
  for (hi = tails[tail], lo = tail + 1; lo-- > 0;) tails[lo] = hi, hi = pred[hi];
1158
1189
  for (let i = diffLen; i--;) ~tail && i === tails[tail] ? tail-- : insertBranchBefore(newScopes[start + i], parentNode, afterReference), afterReference = newScopes[start + i].S;
@@ -1170,272 +1201,272 @@ function byFirstArg(name) {
1170
1201
  Object.defineProperty(exports, "$", {
1171
1202
  enumerable: !0,
1172
1203
  get: function() {
1173
- return _attrs_content;
1204
+ return _attrs;
1174
1205
  }
1175
1206
  }), Object.defineProperty(exports, "$t", {
1176
1207
  enumerable: !0,
1177
1208
  get: function() {
1178
- return _on;
1209
+ return syncGen;
1179
1210
  }
1180
1211
  }), Object.defineProperty(exports, "A", {
1181
1212
  enumerable: !0,
1182
1213
  get: function() {
1183
- return _attr_input_value_attribute_default;
1214
+ return _attr_input_value;
1184
1215
  }
1185
1216
  }), Object.defineProperty(exports, "At", {
1186
1217
  enumerable: !0,
1187
1218
  get: function() {
1188
- return _closure_get;
1219
+ return _closure;
1189
1220
  }
1190
1221
  }), Object.defineProperty(exports, "B", {
1191
1222
  enumerable: !0,
1192
1223
  get: function() {
1193
- return _controllable_textarea;
1224
+ return _controllable_select;
1194
1225
  }
1195
1226
  }), Object.defineProperty(exports, "Bt", {
1196
1227
  enumerable: !0,
1197
1228
  get: function() {
1198
- return _let;
1229
+ return _if_closure;
1199
1230
  }
1200
1231
  }), Object.defineProperty(exports, "C", {
1201
1232
  enumerable: !0,
1202
1233
  get: function() {
1203
- return _attr_input_checked;
1234
+ return _attr_details_or_dialog_open_script;
1204
1235
  }
1205
1236
  }), Object.defineProperty(exports, "Ct", {
1206
1237
  enumerable: !0,
1207
1238
  get: function() {
1208
- return init;
1239
+ return getRegisteredWithScope;
1209
1240
  }
1210
1241
  }), Object.defineProperty(exports, "D", {
1211
1242
  enumerable: !0,
1212
1243
  get: function() {
1213
- return _attr_input_checked_default;
1244
+ return _attr_input_checkedValue_script;
1214
1245
  }
1215
1246
  }), Object.defineProperty(exports, "Dt", {
1216
1247
  enumerable: !0,
1217
1248
  get: function() {
1218
- return withLazy;
1249
+ return readyFailed;
1219
1250
  }
1220
1251
  }), Object.defineProperty(exports, "E", {
1221
1252
  enumerable: !0,
1222
1253
  get: function() {
1223
- return _attr_input_checkedValue_script;
1254
+ return _attr_input_checkedValue_default;
1224
1255
  }
1225
1256
  }), Object.defineProperty(exports, "Et", {
1226
1257
  enumerable: !0,
1227
1258
  get: function() {
1228
- return readyFailed;
1259
+ return ready;
1229
1260
  }
1230
1261
  }), Object.defineProperty(exports, "F", {
1231
1262
  enumerable: !0,
1232
1263
  get: function() {
1233
- return _attr_select_value_default;
1264
+ return _attr_select_value;
1234
1265
  }
1235
1266
  }), Object.defineProperty(exports, "Ft", {
1236
1267
  enumerable: !0,
1237
1268
  get: function() {
1238
- return _global_read;
1269
+ return _for_selector;
1239
1270
  }
1240
1271
  }), Object.defineProperty(exports, "G", {
1241
1272
  enumerable: !0,
1242
1273
  get: function() {
1243
- return _attr_class_item;
1274
+ return _attr_class;
1244
1275
  }
1245
1276
  }), Object.defineProperty(exports, "Gt", {
1246
1277
  enumerable: !0,
1247
1278
  get: function() {
1248
- return _script;
1279
+ return _return_change;
1249
1280
  }
1250
1281
  }), Object.defineProperty(exports, "H", {
1251
1282
  enumerable: !0,
1252
1283
  get: function() {
1253
- return controllableScripts;
1284
+ return controllableRenders;
1254
1285
  }
1255
1286
  }), Object.defineProperty(exports, "Ht", {
1256
1287
  enumerable: !0,
1257
1288
  get: function() {
1258
- return _or;
1289
+ return _let_change;
1259
1290
  }
1260
1291
  }), Object.defineProperty(exports, "I", {
1261
1292
  enumerable: !0,
1262
1293
  get: function() {
1263
- return _attr_select_value_script;
1294
+ return _attr_select_value_default;
1264
1295
  }
1265
1296
  }), Object.defineProperty(exports, "It", {
1266
1297
  enumerable: !0,
1267
1298
  get: function() {
1268
- return _hoist;
1299
+ return _global_read;
1269
1300
  }
1270
1301
  }), Object.defineProperty(exports, "J", {
1271
1302
  enumerable: !0,
1272
1303
  get: function() {
1273
- return _attr_nonce;
1304
+ return _attr_content;
1274
1305
  }
1275
1306
  }), Object.defineProperty(exports, "Jt", {
1276
1307
  enumerable: !0,
1277
1308
  get: function() {
1278
- return _assert_init;
1309
+ return _var_change;
1279
1310
  }
1280
1311
  }), Object.defineProperty(exports, "K", {
1281
1312
  enumerable: !0,
1282
1313
  get: function() {
1283
- return _attr_class_items;
1314
+ return _attr_class_item;
1284
1315
  }
1285
1316
  }), Object.defineProperty(exports, "Kt", {
1286
1317
  enumerable: !0,
1287
1318
  get: function() {
1288
- return _var;
1319
+ return _script;
1289
1320
  }
1290
1321
  }), Object.defineProperty(exports, "L", {
1291
1322
  enumerable: !0,
1292
1323
  get: function() {
1293
- return _controllable_input;
1324
+ return _attr_select_value_script;
1294
1325
  }
1295
1326
  }), Object.defineProperty(exports, "Lt", {
1296
1327
  enumerable: !0,
1297
1328
  get: function() {
1298
- return _hoist_resume;
1329
+ return _hoist;
1299
1330
  }
1300
1331
  }), Object.defineProperty(exports, "M", {
1301
1332
  enumerable: !0,
1302
1333
  get: function() {
1303
- return _attr_input_value_dynamic_default;
1334
+ return _attr_input_value_default;
1304
1335
  }
1305
1336
  }), Object.defineProperty(exports, "Mt", {
1306
1337
  enumerable: !0,
1307
1338
  get: function() {
1308
- return _el_read;
1339
+ return _const;
1309
1340
  }
1310
1341
  }), Object.defineProperty(exports, "N", {
1311
1342
  enumerable: !0,
1312
1343
  get: function() {
1313
- return _attr_input_value_script;
1344
+ return _attr_input_value_dynamic_default;
1314
1345
  }
1315
1346
  }), Object.defineProperty(exports, "Nt", {
1316
1347
  enumerable: !0,
1317
1348
  get: function() {
1318
- return _for_closure;
1349
+ return _el_read;
1319
1350
  }
1320
1351
  }), Object.defineProperty(exports, "O", {
1321
1352
  enumerable: !0,
1322
1353
  get: function() {
1323
- return _attr_input_checked_script;
1354
+ return _attr_input_checked_default;
1324
1355
  }
1325
1356
  }), Object.defineProperty(exports, "Ot", {
1326
1357
  enumerable: !0,
1327
1358
  get: function() {
1328
- return _child_setup;
1359
+ return withLazy;
1329
1360
  }
1330
1361
  }), Object.defineProperty(exports, "P", {
1331
1362
  enumerable: !0,
1332
1363
  get: function() {
1333
- return _attr_select_value;
1364
+ return _attr_input_value_script;
1334
1365
  }
1335
1366
  }), Object.defineProperty(exports, "Pt", {
1336
1367
  enumerable: !0,
1337
1368
  get: function() {
1338
- return _for_selector;
1369
+ return _for_closure;
1339
1370
  }
1340
1371
  }), Object.defineProperty(exports, "Q", {
1341
1372
  enumerable: !0,
1342
1373
  get: function() {
1343
- return _attrs;
1374
+ return _attr_style_items;
1344
1375
  }
1345
1376
  }), Object.defineProperty(exports, "Qt", {
1346
1377
  enumerable: !0,
1347
1378
  get: function() {
1348
- return syncGen;
1379
+ return removeAndDestroyBranch;
1349
1380
  }
1350
1381
  }), Object.defineProperty(exports, "R", {
1351
1382
  enumerable: !0,
1352
1383
  get: function() {
1353
- return _controllable_open;
1384
+ return _controllable_input;
1354
1385
  }
1355
1386
  }), Object.defineProperty(exports, "Rt", {
1356
1387
  enumerable: !0,
1357
1388
  get: function() {
1358
- return _id;
1389
+ return _hoist_resume;
1359
1390
  }
1360
1391
  }), Object.defineProperty(exports, "S", {
1361
1392
  enumerable: !0,
1362
1393
  get: function() {
1363
- return _attr_details_or_dialog_open_script;
1394
+ return _attr_details_or_dialog_open_default;
1364
1395
  }
1365
1396
  }), Object.defineProperty(exports, "St", {
1366
1397
  enumerable: !0,
1367
1398
  get: function() {
1368
- return getRegisteredWithScope;
1399
+ return _var_resume;
1369
1400
  }
1370
1401
  }), Object.defineProperty(exports, "T", {
1371
1402
  enumerable: !0,
1372
1403
  get: function() {
1373
- return _attr_input_checkedValue_default;
1404
+ return _attr_input_checkedValue;
1374
1405
  }
1375
1406
  }), Object.defineProperty(exports, "Tt", {
1376
1407
  enumerable: !0,
1377
1408
  get: function() {
1378
- return ready;
1409
+ return initEmbedded;
1379
1410
  }
1380
1411
  }), Object.defineProperty(exports, "U", {
1381
1412
  enumerable: !0,
1382
1413
  get: function() {
1383
- return _attr;
1414
+ return controllableScripts;
1384
1415
  }
1385
1416
  }), Object.defineProperty(exports, "Ut", {
1386
1417
  enumerable: !0,
1387
1418
  get: function() {
1388
- return _return;
1419
+ return _or;
1389
1420
  }
1390
1421
  }), Object.defineProperty(exports, "V", {
1391
1422
  enumerable: !0,
1392
1423
  get: function() {
1393
- return controllableRenders;
1424
+ return _controllable_textarea;
1394
1425
  }
1395
1426
  }), Object.defineProperty(exports, "Vt", {
1396
1427
  enumerable: !0,
1397
1428
  get: function() {
1398
- return _let_change;
1429
+ return _let;
1399
1430
  }
1400
1431
  }), Object.defineProperty(exports, "W", {
1401
1432
  enumerable: !0,
1402
1433
  get: function() {
1403
- return _attr_class;
1434
+ return _attr;
1404
1435
  }
1405
1436
  }), Object.defineProperty(exports, "Wt", {
1406
1437
  enumerable: !0,
1407
1438
  get: function() {
1408
- return _return_change;
1439
+ return _return;
1409
1440
  }
1410
1441
  }), Object.defineProperty(exports, "X", {
1411
1442
  enumerable: !0,
1412
1443
  get: function() {
1413
- return _attr_style_item;
1444
+ return _attr_style;
1414
1445
  }
1415
1446
  }), Object.defineProperty(exports, "Xt", {
1416
1447
  enumerable: !0,
1417
1448
  get: function() {
1418
- return insertBranchBefore;
1449
+ return destroyBranch;
1419
1450
  }
1420
1451
  }), Object.defineProperty(exports, "Y", {
1421
1452
  enumerable: !0,
1422
1453
  get: function() {
1423
- return _attr_style;
1454
+ return _attr_nonce;
1424
1455
  }
1425
1456
  }), Object.defineProperty(exports, "Yt", {
1426
1457
  enumerable: !0,
1427
1458
  get: function() {
1428
- return destroyBranch;
1459
+ return _assert_init;
1429
1460
  }
1430
1461
  }), Object.defineProperty(exports, "Z", {
1431
1462
  enumerable: !0,
1432
1463
  get: function() {
1433
- return _attr_style_items;
1464
+ return _attr_style_item;
1434
1465
  }
1435
1466
  }), Object.defineProperty(exports, "Zt", {
1436
1467
  enumerable: !0,
1437
1468
  get: function() {
1438
- return removeAndDestroyBranch;
1469
+ return insertBranchBefore;
1439
1470
  }
1440
1471
  }), Object.defineProperty(exports, "_", {
1441
1472
  enumerable: !0,
@@ -1450,7 +1481,7 @@ Object.defineProperty(exports, "$", {
1450
1481
  }), Object.defineProperty(exports, "_t", {
1451
1482
  enumerable: !0,
1452
1483
  get: function() {
1453
- return setupBranch;
1484
+ return createBranch;
1454
1485
  }
1455
1486
  }), Object.defineProperty(exports, "a", {
1456
1487
  enumerable: !0,
@@ -1460,22 +1491,22 @@ Object.defineProperty(exports, "$", {
1460
1491
  }), Object.defineProperty(exports, "an", {
1461
1492
  enumerable: !0,
1462
1493
  get: function() {
1463
- return prepareEffects;
1494
+ return queueAsyncRender;
1464
1495
  }
1465
1496
  }), Object.defineProperty(exports, "at", {
1466
1497
  enumerable: !0,
1467
1498
  get: function() {
1468
- return _style_rule_item;
1499
+ return _lifecycle;
1469
1500
  }
1470
1501
  }), Object.defineProperty(exports, "b", {
1471
1502
  enumerable: !0,
1472
1503
  get: function() {
1473
- return _attr_details_or_dialog_open;
1504
+ return runPendingEffects;
1474
1505
  }
1475
1506
  }), Object.defineProperty(exports, "bt", {
1476
1507
  enumerable: !0,
1477
1508
  get: function() {
1478
- return _resumed;
1509
+ return _el;
1479
1510
  }
1480
1511
  }), Object.defineProperty(exports, "c", {
1481
1512
  enumerable: !0,
@@ -1485,12 +1516,12 @@ Object.defineProperty(exports, "$", {
1485
1516
  }), Object.defineProperty(exports, "cn", {
1486
1517
  enumerable: !0,
1487
1518
  get: function() {
1488
- return queueRender;
1519
+ return rendering;
1489
1520
  }
1490
1521
  }), Object.defineProperty(exports, "ct", {
1491
1522
  enumerable: !0,
1492
1523
  get: function() {
1493
- return _text_content;
1524
+ return _text;
1494
1525
  }
1495
1526
  }), Object.defineProperty(exports, "d", {
1496
1527
  enumerable: !0,
@@ -1505,17 +1536,17 @@ Object.defineProperty(exports, "$", {
1505
1536
  }), Object.defineProperty(exports, "dt", {
1506
1537
  enumerable: !0,
1507
1538
  get: function() {
1508
- return toInsertNode;
1539
+ return insertChildNodes;
1509
1540
  }
1510
1541
  }), Object.defineProperty(exports, "en", {
1511
1542
  enumerable: !0,
1512
1543
  get: function() {
1513
- return $signal;
1544
+ return _on;
1514
1545
  }
1515
1546
  }), Object.defineProperty(exports, "et", {
1516
1547
  enumerable: !0,
1517
1548
  get: function() {
1518
- return _attrs_partial;
1549
+ return _attrs_content;
1519
1550
  }
1520
1551
  }), Object.defineProperty(exports, "f", {
1521
1552
  enumerable: !0,
@@ -1530,7 +1561,7 @@ Object.defineProperty(exports, "$", {
1530
1561
  }), Object.defineProperty(exports, "ft", {
1531
1562
  enumerable: !0,
1532
1563
  get: function() {
1533
- return _content;
1564
+ return toInsertNode;
1534
1565
  }
1535
1566
  }), Object.defineProperty(exports, "g", {
1536
1567
  enumerable: !0,
@@ -1545,7 +1576,7 @@ Object.defineProperty(exports, "$", {
1545
1576
  }), Object.defineProperty(exports, "gt", {
1546
1577
  enumerable: !0,
1547
1578
  get: function() {
1548
- return createBranch;
1579
+ return createAndSetupBranch;
1549
1580
  }
1550
1581
  }), Object.defineProperty(exports, "h", {
1551
1582
  enumerable: !0,
@@ -1560,7 +1591,7 @@ Object.defineProperty(exports, "$", {
1560
1591
  }), Object.defineProperty(exports, "ht", {
1561
1592
  enumerable: !0,
1562
1593
  get: function() {
1563
- return createAndSetupBranch;
1594
+ return _content_resume;
1564
1595
  }
1565
1596
  }), Object.defineProperty(exports, "i", {
1566
1597
  enumerable: !0,
@@ -1570,32 +1601,32 @@ Object.defineProperty(exports, "$", {
1570
1601
  }), Object.defineProperty(exports, "in", {
1571
1602
  enumerable: !0,
1572
1603
  get: function() {
1573
- return placeholderShown;
1604
+ return prepareEffects;
1574
1605
  }
1575
1606
  }), Object.defineProperty(exports, "it", {
1576
1607
  enumerable: !0,
1577
1608
  get: function() {
1578
- return _lifecycle;
1609
+ return _html;
1579
1610
  }
1580
1611
  }), Object.defineProperty(exports, "j", {
1581
1612
  enumerable: !0,
1582
1613
  get: function() {
1583
- return _attr_input_value_default;
1614
+ return _attr_input_value_attribute_default;
1584
1615
  }
1585
1616
  }), Object.defineProperty(exports, "jt", {
1586
1617
  enumerable: !0,
1587
1618
  get: function() {
1588
- return _const;
1619
+ return _closure_get;
1589
1620
  }
1590
1621
  }), Object.defineProperty(exports, "k", {
1591
1622
  enumerable: !0,
1592
1623
  get: function() {
1593
- return _attr_input_value;
1624
+ return _attr_input_checked_script;
1594
1625
  }
1595
1626
  }), Object.defineProperty(exports, "kt", {
1596
1627
  enumerable: !0,
1597
1628
  get: function() {
1598
- return _closure;
1629
+ return _child_setup;
1599
1630
  }
1600
1631
  }), Object.defineProperty(exports, "l", {
1601
1632
  enumerable: !0,
@@ -1610,7 +1641,7 @@ Object.defineProperty(exports, "$", {
1610
1641
  }), Object.defineProperty(exports, "lt", {
1611
1642
  enumerable: !0,
1612
1643
  get: function() {
1613
- return _to_text;
1644
+ return _text_content;
1614
1645
  }
1615
1646
  }), Object.defineProperty(exports, "m", {
1616
1647
  enumerable: !0,
@@ -1625,7 +1656,7 @@ Object.defineProperty(exports, "$", {
1625
1656
  }), Object.defineProperty(exports, "mt", {
1626
1657
  enumerable: !0,
1627
1658
  get: function() {
1628
- return _content_resume;
1659
+ return _content_closures;
1629
1660
  }
1630
1661
  }), Object.defineProperty(exports, "n", {
1631
1662
  enumerable: !0,
@@ -1635,12 +1666,12 @@ Object.defineProperty(exports, "$", {
1635
1666
  }), Object.defineProperty(exports, "nn", {
1636
1667
  enumerable: !0,
1637
1668
  get: function() {
1638
- return caughtError;
1669
+ return $signalReset;
1639
1670
  }
1640
1671
  }), Object.defineProperty(exports, "nt", {
1641
1672
  enumerable: !0,
1642
1673
  get: function() {
1643
- return _attrs_script;
1674
+ return _attrs_partial_content;
1644
1675
  }
1645
1676
  }), Object.defineProperty(exports, "o", {
1646
1677
  enumerable: !0,
@@ -1650,12 +1681,12 @@ Object.defineProperty(exports, "$", {
1650
1681
  }), Object.defineProperty(exports, "on", {
1651
1682
  enumerable: !0,
1652
1683
  get: function() {
1653
- return queueAsyncRender;
1684
+ return queueEffect;
1654
1685
  }
1655
1686
  }), Object.defineProperty(exports, "ot", {
1656
1687
  enumerable: !0,
1657
1688
  get: function() {
1658
- return _style_shell;
1689
+ return _style_rule_item;
1659
1690
  }
1660
1691
  }), Object.defineProperty(exports, "p", {
1661
1692
  enumerable: !0,
@@ -1670,17 +1701,17 @@ Object.defineProperty(exports, "$", {
1670
1701
  }), Object.defineProperty(exports, "pt", {
1671
1702
  enumerable: !0,
1672
1703
  get: function() {
1673
- return _content_closures;
1704
+ return _content;
1674
1705
  }
1675
1706
  }), Object.defineProperty(exports, "q", {
1676
1707
  enumerable: !0,
1677
1708
  get: function() {
1678
- return _attr_content;
1709
+ return _attr_class_items;
1679
1710
  }
1680
1711
  }), Object.defineProperty(exports, "qt", {
1681
1712
  enumerable: !0,
1682
1713
  get: function() {
1683
- return _var_change;
1714
+ return _var;
1684
1715
  }
1685
1716
  }), Object.defineProperty(exports, "r", {
1686
1717
  enumerable: !0,
@@ -1695,7 +1726,7 @@ Object.defineProperty(exports, "$", {
1695
1726
  }), Object.defineProperty(exports, "rt", {
1696
1727
  enumerable: !0,
1697
1728
  get: function() {
1698
- return _html;
1729
+ return _attrs_script;
1699
1730
  }
1700
1731
  }), Object.defineProperty(exports, "s", {
1701
1732
  enumerable: !0,
@@ -1705,12 +1736,12 @@ Object.defineProperty(exports, "$", {
1705
1736
  }), Object.defineProperty(exports, "sn", {
1706
1737
  enumerable: !0,
1707
1738
  get: function() {
1708
- return queueEffect;
1739
+ return queueRender;
1709
1740
  }
1710
1741
  }), Object.defineProperty(exports, "st", {
1711
1742
  enumerable: !0,
1712
1743
  get: function() {
1713
- return _text;
1744
+ return _style_shell;
1714
1745
  }
1715
1746
  }), Object.defineProperty(exports, "t", {
1716
1747
  enumerable: !0,
@@ -1720,12 +1751,12 @@ Object.defineProperty(exports, "$", {
1720
1751
  }), Object.defineProperty(exports, "tn", {
1721
1752
  enumerable: !0,
1722
1753
  get: function() {
1723
- return $signalReset;
1754
+ return $signal;
1724
1755
  }
1725
1756
  }), Object.defineProperty(exports, "tt", {
1726
1757
  enumerable: !0,
1727
1758
  get: function() {
1728
- return _attrs_partial_content;
1759
+ return _attrs_partial;
1729
1760
  }
1730
1761
  }), Object.defineProperty(exports, "u", {
1731
1762
  enumerable: !0,
@@ -1740,7 +1771,7 @@ Object.defineProperty(exports, "$", {
1740
1771
  }), Object.defineProperty(exports, "ut", {
1741
1772
  enumerable: !0,
1742
1773
  get: function() {
1743
- return insertChildNodes;
1774
+ return _to_text;
1744
1775
  }
1745
1776
  }), Object.defineProperty(exports, "v", {
1746
1777
  enumerable: !0,
@@ -1755,27 +1786,27 @@ Object.defineProperty(exports, "$", {
1755
1786
  }), Object.defineProperty(exports, "vt", {
1756
1787
  enumerable: !0,
1757
1788
  get: function() {
1758
- return _el;
1789
+ return setupBranch;
1759
1790
  }
1760
1791
  }), Object.defineProperty(exports, "w", {
1761
1792
  enumerable: !0,
1762
1793
  get: function() {
1763
- return _attr_input_checkedValue;
1794
+ return _attr_input_checked;
1764
1795
  }
1765
1796
  }), Object.defineProperty(exports, "wt", {
1766
1797
  enumerable: !0,
1767
1798
  get: function() {
1768
- return initEmbedded;
1799
+ return init;
1769
1800
  }
1770
1801
  }), Object.defineProperty(exports, "x", {
1771
1802
  enumerable: !0,
1772
1803
  get: function() {
1773
- return _attr_details_or_dialog_open_default;
1804
+ return _attr_details_or_dialog_open;
1774
1805
  }
1775
1806
  }), Object.defineProperty(exports, "xt", {
1776
1807
  enumerable: !0,
1777
1808
  get: function() {
1778
- return _var_resume;
1809
+ return _resumed;
1779
1810
  }
1780
1811
  }), Object.defineProperty(exports, "y", {
1781
1812
  enumerable: !0,
@@ -1790,16 +1821,16 @@ Object.defineProperty(exports, "$", {
1790
1821
  }), Object.defineProperty(exports, "yt", {
1791
1822
  enumerable: !0,
1792
1823
  get: function() {
1793
- return _resume_dynamic_tag_var;
1824
+ return _dynamic_tag_var_resume;
1794
1825
  }
1795
1826
  }), Object.defineProperty(exports, "z", {
1796
1827
  enumerable: !0,
1797
1828
  get: function() {
1798
- return _controllable_select;
1829
+ return _controllable_open;
1799
1830
  }
1800
1831
  }), Object.defineProperty(exports, "zt", {
1801
1832
  enumerable: !0,
1802
1833
  get: function() {
1803
- return _if_closure;
1834
+ return _id;
1804
1835
  }
1805
1836
  });