marko 6.4.6 → 6.4.7

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 (85) hide show
  1. package/cheatsheet.md +2 -1
  2. package/dist/common/errors.d.ts +1 -0
  3. package/dist/debug/dom/catch.feat.js +2 -2
  4. package/dist/debug/dom/catch.feat.mjs +2 -2
  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 +2 -2
  18. package/dist/debug/dom/dynamic-tag-var.feat.mjs +2 -2
  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-o9jQjchF.mjs → dom-CFCBDift.mjs} +97 -99
  24. package/dist/debug/{dom-CNgQ6lj9.js → dom-D8znnhpf.js} +102 -104
  25. package/dist/debug/dom.js +18 -19
  26. package/dist/debug/dom.mjs +19 -19
  27. package/dist/debug/html.js +15 -12
  28. package/dist/debug/html.mjs +15 -13
  29. package/dist/dom/catch.feat.js +3 -3
  30. package/dist/dom/catch.feat.mjs +2 -2
  31. package/dist/dom/control-flow.d.ts +1 -1
  32. package/dist/dom/controllable-input.feat.js +1 -1
  33. package/dist/dom/controllable-input.feat.mjs +1 -1
  34. package/dist/dom/controllable-open.feat.js +1 -1
  35. package/dist/dom/controllable-open.feat.mjs +1 -1
  36. package/dist/dom/controllable-select.feat.js +1 -1
  37. package/dist/dom/controllable-select.feat.mjs +1 -1
  38. package/dist/dom/controllable-textarea.feat.js +1 -1
  39. package/dist/dom/controllable-textarea.feat.mjs +1 -1
  40. package/dist/dom/controllable.feat.js +1 -1
  41. package/dist/dom/controllable.feat.mjs +1 -1
  42. package/dist/dom/dynamic-tag-script.feat.js +2 -2
  43. package/dist/dom/dynamic-tag-script.feat.mjs +1 -1
  44. package/dist/dom/dynamic-tag-var.feat.js +3 -3
  45. package/dist/dom/dynamic-tag-var.feat.mjs +2 -2
  46. package/dist/dom/lazy.feat.js +1 -1
  47. package/dist/dom/lazy.feat.mjs +1 -1
  48. package/dist/dom/placeholder.feat.js +2 -2
  49. package/dist/dom/placeholder.feat.mjs +1 -1
  50. package/dist/dom/renderer.d.ts +1 -3
  51. package/dist/dom/resume.d.ts +2 -3
  52. package/dist/dom/signals.d.ts +2 -7
  53. package/dist/{dom-60R4bRWD.js → dom-Bpkm72vV.js} +123 -132
  54. package/dist/{dom-Ci2W4l1P.mjs → dom-CVAevsbz.mjs} +77 -81
  55. package/dist/dom.d.ts +1 -1
  56. package/dist/dom.js +33 -33
  57. package/dist/dom.mjs +19 -19
  58. package/dist/html/assets.d.ts +1 -1
  59. package/dist/html/control-flow.d.ts +1 -1
  60. package/dist/html/inlined-runtimes.d.ts +2 -2
  61. package/dist/html/inlined-runtimes.debug.d.ts +2 -2
  62. package/dist/html/template.d.ts +1 -1
  63. package/dist/html.d.ts +1 -1
  64. package/dist/html.js +16 -19
  65. package/dist/html.mjs +16 -19
  66. package/dist/translator/index.js +6946 -6830
  67. package/dist/translator/util/assert.d.ts +7 -0
  68. package/dist/translator/util/bindings.d.ts +11 -3
  69. package/dist/translator/util/cyclic-memo.d.ts +6 -2
  70. package/dist/translator/util/entry-builder.d.ts +0 -1
  71. package/dist/translator/util/finalize-references.d.ts +4 -2
  72. package/dist/translator/util/for-selector.d.ts +1 -1
  73. package/dist/translator/util/generate-uid.d.ts +1 -0
  74. package/dist/translator/util/known-tag.d.ts +4 -1
  75. package/dist/translator/util/optional.d.ts +1 -1
  76. package/dist/translator/util/reasons.d.ts +4 -1
  77. package/dist/translator/util/references.d.ts +2 -0
  78. package/dist/translator/util/sections.d.ts +5 -5
  79. package/dist/translator/util/signals.d.ts +3 -3
  80. package/dist/translator/util/slots.d.ts +2 -2
  81. package/dist/translator/util/state.d.ts +4 -2
  82. package/dist/translator/visitors/import-declaration.d.ts +2 -0
  83. package/dist/translator/visitors/program/pre-analyze.d.ts +2 -0
  84. package/dist/translator/visitors/tag/dynamic-tag.d.ts +1 -0
  85. package/package.json +4 -4
package/dist/debug/dom.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_control_flow = require("./dom-CNgQ6lj9.js");
3
+ const require_control_flow = require("./dom-D8znnhpf.js");
4
4
  //#region src/common/attr-tag.ts
5
5
  const empty = [];
6
6
  const rest = Symbol("Attribute Tag");
@@ -108,11 +108,12 @@ const compat = {
108
108
  const normalizedInput = args[0] = {};
109
109
  for (const key in input) normalizedInput[key === "renderBody" ? "content" : key] = input[key];
110
110
  }
111
- const renderBranch = () => {
111
+ const renderBranch = (_) => {
112
112
  if (!branch) {
113
113
  created = 1;
114
114
  branch = component.scope = require_control_flow.createAndSetupBranch(out.global, renderer, renderer[require_control_flow.Owner], document.body);
115
115
  }
116
+ renderer[require_control_flow.LocalClosures]?.(branch);
116
117
  renderer[require_control_flow.Params]?.(branch, renderer._ ? args[0] : args);
117
118
  };
118
119
  component.effects = require_control_flow.rendering ? renderBranch() : require_control_flow.prepareEffects(renderBranch);
@@ -125,7 +126,7 @@ const _template = (id, template, walks, setup, inputSignal) => {
125
126
  const renderer = require_control_flow._content(id, template, walks, setup, inputSignal)();
126
127
  renderer.mount = mount;
127
128
  renderer._ = renderer;
128
- renderer.render = () => {
129
+ renderer.render = (_) => {
129
130
  throw new Error(`render() is not implemented for the DOM compilation of a Marko template`);
130
131
  };
131
132
  return require_control_flow._resumed[id] = renderer;
@@ -162,7 +163,7 @@ function mount(input = {}, reference, position) {
162
163
  }
163
164
  let curValue;
164
165
  const args = this[require_control_flow.Params];
165
- const effects = require_control_flow.prepareEffects(() => {
166
+ const effects = require_control_flow.prepareEffects((_) => {
166
167
  branch = require_control_flow.createBranch($global, this, void 0, parentNode);
167
168
  branch[require_control_flow.TagVariable] = (newValue) => {
168
169
  curValue = newValue;
@@ -182,7 +183,7 @@ function mount(input = {}, reference, position) {
182
183
  update(newInput = {}) {
183
184
  if (args) {
184
185
  if (newInput.$global) ({$global, ...newInput} = newInput);
185
- require_control_flow.runEffects(require_control_flow.prepareEffects(() => {
186
+ require_control_flow.runEffects(require_control_flow.prepareEffects((_) => {
186
187
  args(branch, newInput);
187
188
  }));
188
189
  }
@@ -204,7 +205,7 @@ function _load_template(id, load) {
204
205
  Object.assign(lazyTemplate, renderer);
205
206
  require_control_flow.queueAsyncRender(branch, (branch) => insertLoaded(renderer, branch, branch[require_control_flow.StartNode], awaitCounter));
206
207
  }, loadFailed(branch, awaitCounter));
207
- }, _load_signal(() => (pending ||= load()).then((r) => ({ _: r["params"] || noop }))));
208
+ }, _load_signal((_) => (pending ||= load()).then((r) => ({ _: r["params"] || noop }))));
208
209
  lazyTemplate[require_control_flow.Lazy] = 1;
209
210
  return lazyTemplate;
210
211
  }
@@ -213,10 +214,10 @@ function _load_setup(load) {
213
214
  let renderer;
214
215
  const insertCached = (child, marker) => insertLoaded(renderer, child, marker);
215
216
  return (owner, child, marker) => {
217
+ child[require_control_flow.Load] ||= /* @__PURE__ */ new Map();
216
218
  if (renderer) require_control_flow.queueRender(child, insertCached, -1, marker);
217
219
  else {
218
220
  const awaitCounter = require_control_flow.startAwait(owner);
219
- child[require_control_flow.Load] ||= /* @__PURE__ */ new Map();
220
221
  (pending ||= load()).then((mod) => {
221
222
  renderer ||= require_control_flow._content("", ...mod._)();
222
223
  require_control_flow.queueAsyncRender(child, (child) => insertLoaded(renderer, child, marker, awaitCounter));
@@ -225,11 +226,12 @@ function _load_setup(load) {
225
226
  };
226
227
  }
227
228
  function insertLoaded(renderer, branch, marker, awaitCounter) {
228
- const parent = () => marker.parentNode, values = branch[require_control_flow.Load], clone = () => {
229
+ const parent = (_) => marker.parentNode, values = branch[require_control_flow.Load], create = (_) => {
229
230
  require_control_flow.syncGen(branch);
230
231
  renderer[require_control_flow.Clone](branch, parent().namespaceURI);
231
232
  branch[require_control_flow.Load] = 0;
232
- }, insert = () => {
233
+ require_control_flow.setupBranch(renderer, branch);
234
+ }, insert = (_) => {
233
235
  require_control_flow.insertBranchBefore(branch, parent(), marker);
234
236
  marker.remove();
235
237
  awaitCounter?.c();
@@ -239,14 +241,12 @@ function insertLoaded(renderer, branch, marker, awaitCounter) {
239
241
  awaitCounter ||= require_control_flow.startAwait(branch);
240
242
  const fail = loadFailed(branch, awaitCounter);
241
243
  values.forEach(([, apply], promise) => promise.then((mod) => (apply._ = mod._) && !--remaining && require_control_flow.queueAsyncRender(branch, (branch) => {
242
- clone();
243
- renderer["setup"]?.(branch);
244
+ create();
244
245
  values.forEach(([value, apply]) => apply(branch, value));
245
246
  insert();
246
247
  }), (error) => remaining > 0 && (remaining = 0, fail(error))));
247
248
  } else {
248
- clone();
249
- require_control_flow.setupBranch(renderer, branch);
249
+ create();
250
250
  insert();
251
251
  }
252
252
  }
@@ -272,24 +272,24 @@ function _load_signal(load) {
272
272
  function _load_visible_trigger(selector, options) {
273
273
  let pending;
274
274
  let el;
275
- return (load) => () => (pending ||= new Promise((resolve) => (el = getSelectorOrResolve(selector, resolve)) && new IntersectionObserver((entries, io) => entries.some((entry) => entry.isIntersecting) && resolve(io.disconnect()), options).observe(el))).then(load);
275
+ return (load) => (_) => (pending ||= new Promise((resolve) => (el = getSelectorOrResolve(selector, resolve)) && new IntersectionObserver((entries, io) => entries.some((entry) => entry.isIntersecting) && resolve(io.disconnect()), options).observe(el))).then(load);
276
276
  }
277
277
  function _load_idle_trigger(options) {
278
278
  let pending;
279
- return (load) => () => (pending ||= new Promise((resolve) => (self.requestIdleCallback || resolve)(resolve, options))).then(load);
279
+ return (load) => (_) => (pending ||= new Promise((resolve) => (self.requestIdleCallback || resolve)(resolve, options))).then(load);
280
280
  }
281
281
  function _load_event_trigger(event, selector) {
282
282
  let pending;
283
- return (load) => () => (pending ||= new Promise((resolve) => getSelectorOrResolve(selector, resolve)?.addEventListener(event, resolve, { once: true }))).then(load);
283
+ return (load) => (_) => (pending ||= new Promise((resolve) => getSelectorOrResolve(selector, resolve)?.addEventListener(event, resolve, { once: true }))).then(load);
284
284
  }
285
285
  function _load_media_trigger(query) {
286
286
  let pending;
287
287
  let mql;
288
- return (load) => () => (pending ||= new Promise((resolve) => (mql = matchMedia(query)).matches ? resolve() : mql.addEventListener("change", resolve, { once: true }))).then(load);
288
+ return (load) => (_) => (pending ||= new Promise((resolve) => (mql = matchMedia(query)).matches ? resolve() : mql.addEventListener("change", resolve, { once: true }))).then(load);
289
289
  }
290
290
  function _load_race_trigger(...triggers) {
291
291
  let pending;
292
- return (load) => () => (pending ||= Promise.race(triggers.map((t) => t(noop)()))).then(load);
292
+ return (load) => (_) => (pending ||= Promise.race(triggers.map((t) => t(noop)()))).then(load);
293
293
  }
294
294
  function getSelectorOrResolve(selector, resolve) {
295
295
  return document.querySelector(selector) || (console.warn(`A lazy load trigger could not find an element matching "${selector}". The module was loaded immediately.`), resolve());
@@ -341,7 +341,6 @@ exports._attrs_script = require_control_flow._attrs_script;
341
341
  exports._await_content = require_control_flow._await_content;
342
342
  exports._await_promise = require_control_flow._await_promise;
343
343
  exports._call = require_control_flow._call;
344
- exports._child_setup = require_control_flow._child_setup;
345
344
  exports._closure = require_control_flow._closure;
346
345
  exports._closure_get = require_control_flow._closure_get;
347
346
  exports._const = require_control_flow._const;
@@ -1,4 +1,4 @@
1
- import { $ as _attr_style_items, $t as insertBranchBefore, A as _attr_input_value, An as Params, B as _controllable_select, Bn as Global, Bt as _hoist_resume, C as _attr_details_or_dialog_open_script, Cn as _assert_hoist, Ct as _resumed, D as _attr_input_checkedValue_script, Dn as Clone, Dt as initEmbedded, E as _attr_input_checkedValue_default, Et as init, F as _attr_select_value, Ft as _el_read, G as _attr_class, Gt as _or, Ht as _if_closure, I as _attr_select_value_default, It as _for_closure, J as _attr_class_names, Jn as TagVariable, Jt as _script, K as _attr_class_item, Kt as _return, L as _attr_select_value_script, Lt as _for_selector, M as _attr_input_value_default, Mn as Setup, Mt as _closure, N as _attr_input_value_dynamic_default, Nt as _closure_get, O as _attr_input_checked_default, On as Lazy, Ot as ready, P as _attr_input_value_script, Pt as _const, Q as _attr_style_item, Qt as destroyBranch, R as _controllable_input, Rn as EndNode, Rt as _global_read, S as _attr_details_or_dialog_open_default, Sn as _assert_class_toggles, St as _el, T as _attr_input_checkedValue, Tn as _call, Tt as getRegisteredWithScope, Ut as _let, V as _controllable_textarea, Vn as Load, Vt as _id, W as _attr, Wt as _let_change, X as _attr_nonce, Xt as _var_change, Y as _attr_content, Yt as _var, Z as _attr_style, Zt as _assert_init, _ as patchDynamicTag, _n as runId, _t as _return_setup, a as _for_in, an as $signal, at as _html, b as startAwait, bn as forTo, bt as setupBranch, c as _for_to, ct as _style_shell, d as _for_until_unkeyed, dn as queueAsyncRender, dt as _to_text, en as removeAndDestroyBranch, et as _attrs, f as _if, fn as queueEffect, ft as insertChildNodes, gn as runEffects, gt as _content_resume, hn as run, ht as _content_closures, i as _dynamic_tag_content, in as _on, it as _attrs_script, j as _attr_input_value_attribute_default, jt as _child_setup, k as _attr_input_checked_script, kn as Owner, kt as readyFailed, l as _for_to_unkeyed, lt as _text, m as _try, mn as rendering, mt as _content, n as _await_promise, nt as _attrs_partial, o as _for_of, on as $signalReset, ot as _lifecycle, p as _show, pn as queueRender, pt as toInsertNode, q as _attr_class_items, qn as StartNode, qt as _return_change, r as _dynamic_tag, rt as _attrs_partial_content, s as _for_of_unkeyed, st as _style_rule_item, t as _await_content, tn as syncGen, tt as _attrs_content, u as _for_until, un as prepareEffects, ut as _text_content, v as renderCatch, vn as forIn, vt as createAndSetupBranch, w as _attr_input_checked, wn as _hoist_read_error, wt as _var_resume, x as _attr_details_or_dialog_open, xn as forUntil, xt as _dynamic_tag_var_resume, yn as forOf, yt as createBranch, z as _controllable_open, zt as _hoist } from "./dom-o9jQjchF.mjs";
1
+ import { $ as _attr_style_items, $t as removeAndDestroyBranch, A as _attr_input_value, An as Params, B as _controllable_select, Bn as Global, Bt as _id, C as _attr_details_or_dialog_open_script, Cn as _hoist_read_error, Ct as _resumed, D as _attr_input_checkedValue_script, Dn as Lazy, Dt as initEmbedded, E as _attr_input_checkedValue_default, En as Clone, Et as init, F as _attr_select_value, Ft as _for_closure, G as _attr_class, Gt as _return, Ht as _let, I as _attr_select_value_default, It as _for_selector, J as _attr_class_names, Jn as TagVariable, Jt as _var, K as _attr_class_item, Kt as _return_change, L as _attr_select_value_script, Lt as _global_read, M as _attr_input_value_default, Mn as Setup, Mt as _closure_get, N as _attr_input_value_dynamic_default, Nt as _const, O as _attr_input_checked_default, On as LocalClosures, Ot as ready, P as _attr_input_value_script, Pt as _el_read, Q as _attr_style_item, Qt as insertBranchBefore, R as _controllable_input, Rn as EndNode, Rt as _hoist, S as _attr_details_or_dialog_open_default, Sn as _assert_hoist, St as _el, T as _attr_input_checkedValue, Tt as getRegisteredWithScope, Ut as _let_change, V as _controllable_textarea, Vn as Load, Vt as _if_closure, W as _attr, Wt as _or, X as _attr_nonce, Xt as _assert_init, Y as _attr_content, Yt as _var_change, Z as _attr_style, Zt as destroyBranch, _ as patchDynamicTag, _n as forIn, _t as _return_setup, a as _for_in, an as $signalReset, at as _html, b as startAwait, bn as forUntil, bt as setupBranch, c as _for_to, ct as _style_shell, d as _for_until_unkeyed, dn as queueEffect, dt as _to_text, en as syncGen, et as _attrs, f as _if, fn as queueRender, ft as insertChildNodes, gn as runId, gt as _content_resume, hn as runEffects, ht as _content_closures, i as _dynamic_tag_content, in as $signal, it as _attrs_script, j as _attr_input_value_attribute_default, jt as _closure, k as _attr_input_checked_script, kn as Owner, kt as readyFailed, l as _for_to_unkeyed, ln as prepareEffects, lt as _text, m as _try, mn as run, mt as _content, n as _await_promise, nt as _attrs_partial, o as _for_of, ot as _lifecycle, p as _show, pn as rendering, pt as toInsertNode, q as _attr_class_items, qn as StartNode, qt as _script, r as _dynamic_tag, rn as _on, rt as _attrs_partial_content, s as _for_of_unkeyed, st as _style_rule_item, t as _await_content, tt as _attrs_content, u as _for_until, un as queueAsyncRender, ut as _text_content, v as renderCatch, vn as forOf, vt as createAndSetupBranch, w as _attr_input_checked, wn as _call, wt as _var_resume, x as _attr_details_or_dialog_open, xn as _assert_class_toggles, xt as _dynamic_tag_var_resume, yn as forTo, yt as createBranch, z as _controllable_open, zt as _hoist_resume } from "./dom-CFCBDift.mjs";
2
2
  //#region src/common/attr-tag.ts
3
3
  const empty = [];
4
4
  const rest = Symbol("Attribute Tag");
@@ -106,11 +106,12 @@ const compat = {
106
106
  const normalizedInput = args[0] = {};
107
107
  for (const key in input) normalizedInput[key === "renderBody" ? "content" : key] = input[key];
108
108
  }
109
- const renderBranch = () => {
109
+ const renderBranch = (_) => {
110
110
  if (!branch) {
111
111
  created = 1;
112
112
  branch = component.scope = createAndSetupBranch(out.global, renderer, renderer[Owner], document.body);
113
113
  }
114
+ renderer[LocalClosures]?.(branch);
114
115
  renderer[Params]?.(branch, renderer._ ? args[0] : args);
115
116
  };
116
117
  component.effects = rendering ? renderBranch() : prepareEffects(renderBranch);
@@ -123,7 +124,7 @@ const _template = (id, template, walks, setup, inputSignal) => {
123
124
  const renderer = _content(id, template, walks, setup, inputSignal)();
124
125
  renderer.mount = mount;
125
126
  renderer._ = renderer;
126
- renderer.render = () => {
127
+ renderer.render = (_) => {
127
128
  throw new Error(`render() is not implemented for the DOM compilation of a Marko template`);
128
129
  };
129
130
  return _resumed[id] = renderer;
@@ -160,7 +161,7 @@ function mount(input = {}, reference, position) {
160
161
  }
161
162
  let curValue;
162
163
  const args = this[Params];
163
- const effects = prepareEffects(() => {
164
+ const effects = prepareEffects((_) => {
164
165
  branch = createBranch($global, this, void 0, parentNode);
165
166
  branch[TagVariable] = (newValue) => {
166
167
  curValue = newValue;
@@ -180,7 +181,7 @@ function mount(input = {}, reference, position) {
180
181
  update(newInput = {}) {
181
182
  if (args) {
182
183
  if (newInput.$global) ({$global, ...newInput} = newInput);
183
- runEffects(prepareEffects(() => {
184
+ runEffects(prepareEffects((_) => {
184
185
  args(branch, newInput);
185
186
  }));
186
187
  }
@@ -202,7 +203,7 @@ function _load_template(id, load) {
202
203
  Object.assign(lazyTemplate, renderer);
203
204
  queueAsyncRender(branch, (branch) => insertLoaded(renderer, branch, branch[StartNode], awaitCounter));
204
205
  }, loadFailed(branch, awaitCounter));
205
- }, _load_signal(() => (pending ||= load()).then((r) => ({ _: r["params"] || noop }))));
206
+ }, _load_signal((_) => (pending ||= load()).then((r) => ({ _: r["params"] || noop }))));
206
207
  lazyTemplate[Lazy] = 1;
207
208
  return lazyTemplate;
208
209
  }
@@ -211,10 +212,10 @@ function _load_setup(load) {
211
212
  let renderer;
212
213
  const insertCached = (child, marker) => insertLoaded(renderer, child, marker);
213
214
  return (owner, child, marker) => {
215
+ child[Load] ||= /* @__PURE__ */ new Map();
214
216
  if (renderer) queueRender(child, insertCached, -1, marker);
215
217
  else {
216
218
  const awaitCounter = startAwait(owner);
217
- child[Load] ||= /* @__PURE__ */ new Map();
218
219
  (pending ||= load()).then((mod) => {
219
220
  renderer ||= _content("", ...mod._)();
220
221
  queueAsyncRender(child, (child) => insertLoaded(renderer, child, marker, awaitCounter));
@@ -223,11 +224,12 @@ function _load_setup(load) {
223
224
  };
224
225
  }
225
226
  function insertLoaded(renderer, branch, marker, awaitCounter) {
226
- const parent = () => marker.parentNode, values = branch[Load], clone = () => {
227
+ const parent = (_) => marker.parentNode, values = branch[Load], create = (_) => {
227
228
  syncGen(branch);
228
229
  renderer[Clone](branch, parent().namespaceURI);
229
230
  branch[Load] = 0;
230
- }, insert = () => {
231
+ setupBranch(renderer, branch);
232
+ }, insert = (_) => {
231
233
  insertBranchBefore(branch, parent(), marker);
232
234
  marker.remove();
233
235
  awaitCounter?.c();
@@ -237,14 +239,12 @@ function insertLoaded(renderer, branch, marker, awaitCounter) {
237
239
  awaitCounter ||= startAwait(branch);
238
240
  const fail = loadFailed(branch, awaitCounter);
239
241
  values.forEach(([, apply], promise) => promise.then((mod) => (apply._ = mod._) && !--remaining && queueAsyncRender(branch, (branch) => {
240
- clone();
241
- renderer["setup"]?.(branch);
242
+ create();
242
243
  values.forEach(([value, apply]) => apply(branch, value));
243
244
  insert();
244
245
  }), (error) => remaining > 0 && (remaining = 0, fail(error))));
245
246
  } else {
246
- clone();
247
- setupBranch(renderer, branch);
247
+ create();
248
248
  insert();
249
249
  }
250
250
  }
@@ -270,27 +270,27 @@ function _load_signal(load) {
270
270
  function _load_visible_trigger(selector, options) {
271
271
  let pending;
272
272
  let el;
273
- return (load) => () => (pending ||= new Promise((resolve) => (el = getSelectorOrResolve(selector, resolve)) && new IntersectionObserver((entries, io) => entries.some((entry) => entry.isIntersecting) && resolve(io.disconnect()), options).observe(el))).then(load);
273
+ return (load) => (_) => (pending ||= new Promise((resolve) => (el = getSelectorOrResolve(selector, resolve)) && new IntersectionObserver((entries, io) => entries.some((entry) => entry.isIntersecting) && resolve(io.disconnect()), options).observe(el))).then(load);
274
274
  }
275
275
  function _load_idle_trigger(options) {
276
276
  let pending;
277
- return (load) => () => (pending ||= new Promise((resolve) => (self.requestIdleCallback || resolve)(resolve, options))).then(load);
277
+ return (load) => (_) => (pending ||= new Promise((resolve) => (self.requestIdleCallback || resolve)(resolve, options))).then(load);
278
278
  }
279
279
  function _load_event_trigger(event, selector) {
280
280
  let pending;
281
- return (load) => () => (pending ||= new Promise((resolve) => getSelectorOrResolve(selector, resolve)?.addEventListener(event, resolve, { once: true }))).then(load);
281
+ return (load) => (_) => (pending ||= new Promise((resolve) => getSelectorOrResolve(selector, resolve)?.addEventListener(event, resolve, { once: true }))).then(load);
282
282
  }
283
283
  function _load_media_trigger(query) {
284
284
  let pending;
285
285
  let mql;
286
- return (load) => () => (pending ||= new Promise((resolve) => (mql = matchMedia(query)).matches ? resolve() : mql.addEventListener("change", resolve, { once: true }))).then(load);
286
+ return (load) => (_) => (pending ||= new Promise((resolve) => (mql = matchMedia(query)).matches ? resolve() : mql.addEventListener("change", resolve, { once: true }))).then(load);
287
287
  }
288
288
  function _load_race_trigger(...triggers) {
289
289
  let pending;
290
- return (load) => () => (pending ||= Promise.race(triggers.map((t) => t(noop)()))).then(load);
290
+ return (load) => (_) => (pending ||= Promise.race(triggers.map((t) => t(noop)()))).then(load);
291
291
  }
292
292
  function getSelectorOrResolve(selector, resolve) {
293
293
  return document.querySelector(selector) || (console.warn(`A lazy load trigger could not find an element matching "${selector}". The module was loaded immediately.`), resolve());
294
294
  }
295
295
  //#endregion
296
- export { $signal, $signalReset, _assert_class_toggles, _assert_hoist, _assert_init, _attr, _attr_class, _attr_class_item, _attr_class_items, _attr_class_names, _attr_content, _attr_details_or_dialog_open as _attr_details_open, _attr_details_or_dialog_open as _attr_dialog_open, _attr_details_or_dialog_open_default as _attr_details_open_default, _attr_details_or_dialog_open_default as _attr_dialog_open_default, _attr_details_or_dialog_open_script as _attr_details_open_script, _attr_details_or_dialog_open_script as _attr_dialog_open_script, _attr_input_checked, _attr_input_checkedValue, _attr_input_checkedValue_default, _attr_input_checkedValue_script, _attr_input_checked_default, _attr_input_checked_script, _attr_input_value, _attr_input_value as _attr_textarea_value, _attr_input_value_attribute_default, _attr_input_value_default, _attr_input_value_default as _attr_textarea_value_default, _attr_input_value_dynamic_default, _attr_input_value_script, _attr_input_value_script as _attr_textarea_value_script, _attr_nonce, _attr_select_value, _attr_select_value_default, _attr_select_value_script, _attr_style, _attr_style_item, _attr_style_items, _attrs, _attrs_content, _attrs_partial, _attrs_partial_content, _attrs_script, _await_content, _await_promise, _call, _child_setup, _closure, _closure_get, _const, _content, _content_closures, _content_resume, _controllable_input, _controllable_open, _controllable_select, _controllable_textarea, _dynamic_tag, _dynamic_tag_content, _dynamic_tag_var_resume, _el, _el_read, _for_closure, _for_in, _for_of, _for_of_unkeyed, _for_selector, _for_to, _for_to_unkeyed, _for_until, _for_until_unkeyed, _global_read, _hoist, _hoist_read_error, _hoist_resume, _html, _id, _if, _if_closure, _let, _let_change, _lifecycle, _load_event_trigger, _load_idle_trigger, _load_media_trigger, _load_race_trigger, _load_setup, _load_signal, _load_template, _load_visible_trigger, _on, _or, _resumed, _return, _return_change, _return_setup, _script, _show, _style_rule_item, _style_shell, _template, _text, _text_content, _to_text, _try, _var, _var_change, _var_resume, attrTag, attrTags, compat, forIn, forOf, forTo, forUntil, init, initEmbedded, ready, readyFailed, run };
296
+ export { $signal, $signalReset, _assert_class_toggles, _assert_hoist, _assert_init, _attr, _attr_class, _attr_class_item, _attr_class_items, _attr_class_names, _attr_content, _attr_details_or_dialog_open as _attr_details_open, _attr_details_or_dialog_open as _attr_dialog_open, _attr_details_or_dialog_open_default as _attr_details_open_default, _attr_details_or_dialog_open_default as _attr_dialog_open_default, _attr_details_or_dialog_open_script as _attr_details_open_script, _attr_details_or_dialog_open_script as _attr_dialog_open_script, _attr_input_checked, _attr_input_checkedValue, _attr_input_checkedValue_default, _attr_input_checkedValue_script, _attr_input_checked_default, _attr_input_checked_script, _attr_input_value, _attr_input_value as _attr_textarea_value, _attr_input_value_attribute_default, _attr_input_value_default, _attr_input_value_default as _attr_textarea_value_default, _attr_input_value_dynamic_default, _attr_input_value_script, _attr_input_value_script as _attr_textarea_value_script, _attr_nonce, _attr_select_value, _attr_select_value_default, _attr_select_value_script, _attr_style, _attr_style_item, _attr_style_items, _attrs, _attrs_content, _attrs_partial, _attrs_partial_content, _attrs_script, _await_content, _await_promise, _call, _closure, _closure_get, _const, _content, _content_closures, _content_resume, _controllable_input, _controllable_open, _controllable_select, _controllable_textarea, _dynamic_tag, _dynamic_tag_content, _dynamic_tag_var_resume, _el, _el_read, _for_closure, _for_in, _for_of, _for_of_unkeyed, _for_selector, _for_to, _for_to_unkeyed, _for_until, _for_until_unkeyed, _global_read, _hoist, _hoist_read_error, _hoist_resume, _html, _id, _if, _if_closure, _let, _let_change, _lifecycle, _load_event_trigger, _load_idle_trigger, _load_media_trigger, _load_race_trigger, _load_setup, _load_signal, _load_template, _load_visible_trigger, _on, _or, _resumed, _return, _return_change, _return_setup, _script, _show, _style_rule_item, _style_shell, _template, _text, _text_content, _to_text, _try, _var, _var_change, _var_resume, attrTag, attrTags, compat, forIn, forOf, forTo, forUntil, init, initEmbedded, ready, readyFailed, run };
@@ -228,6 +228,9 @@ function _el_read_error() {
228
228
  function _hoist_read_error() {
229
229
  throw new Error("Hoisted values can only be read in scripts and event handlers.");
230
230
  }
231
+ function _signal_read_error() {
232
+ throw new Error("Cannot use $signal in a server render.");
233
+ }
231
234
  function _assert_hoist(value) {
232
235
  if (value !== void 0 && typeof value !== "function") throw new Error(`Hoisted values must be functions, received type "${typeof value}".`);
233
236
  }
@@ -2088,7 +2091,6 @@ const WALKER_RUNTIME_CODE = `((runtimeId) => (self[runtimeId] ||= (
2088
2091
  ) =>
2089
2092
  doc = (self[runtimeId][renderId] = {
2090
2093
  i: prefix,
2091
- d: doc,
2092
2094
  l: lookup,
2093
2095
  v: visits,
2094
2096
  x() {},
@@ -2132,7 +2134,7 @@ const REORDER_RUNTIME_CODE = `((runtime) => {
2132
2134
  (placeholders[id] = placeholder).i++;
2133
2135
  } else if (node.tagName == "T" && (id = node.getAttribute(runtime.i))) {
2134
2136
  nextSibling = node.nextSibling;
2135
- onNextSibling = () => {
2137
+ onNextSibling = (_) => {
2136
2138
  node.remove();
2137
2139
  placeholderRoot || replace(id, node);
2138
2140
  placeholder.c();
@@ -2165,7 +2167,7 @@ const REORDER_RUNTIME_CODE = `((runtime) => {
2165
2167
  // repurpose "op" for callbacks ...carefully
2166
2168
  if ((op = runtime.j[id])) {
2167
2169
  placeholderCb = placeholder.c;
2168
- placeholder.c = () => placeholderCb() || op(runtime.r);
2170
+ placeholder.c = (_) => placeholderCb() || op(runtime.r);
2169
2171
  }
2170
2172
  }
2171
2173
  };
@@ -3493,7 +3495,7 @@ var ServerRendered = class {
3493
3495
  toString() {
3494
3496
  const head = this.#head;
3495
3497
  this.#head = null;
3496
- if (!head) throw new Error(CONSUMED_RESULT_MESSAGE);
3498
+ if (!head) throw /* @__PURE__ */ new Error(CONSUMED_RESULT_MESSAGE);
3497
3499
  const { boundary } = head;
3498
3500
  const html = boundary.flush() === 0 ? head.consume(boundary).flushHTML(boundary) : "";
3499
3501
  if (boundary.count) boundary.abort(/* @__PURE__ */ new Error("Cannot consume asynchronous render with 'toString'"));
@@ -3511,14 +3513,14 @@ function NOOP$1() {}
3511
3513
  //#region src/html/assets.ts
3512
3514
  const kAssets = Symbol();
3513
3515
  const kHead = Symbol();
3514
- function withLoadAssets(renderer, flush, assetId, triggers) {
3515
- return register(renderer["id"], Object.assign((input) => {
3516
+ function withLoadAssets(template, id, flush, assetId, triggers) {
3517
+ const renderer = (input) => {
3516
3518
  writeLoadAsset(assetId, flush, triggers);
3517
- return writeWaitReady(assetId, renderer, input);
3518
- }, {
3519
- ...renderer,
3520
- [Lazy]: 1
3521
- }));
3519
+ return writeWaitReady(assetId, template(), input);
3520
+ };
3521
+ renderer[Lazy] = 1;
3522
+ _template(id, renderer);
3523
+ return renderer;
3522
3524
  }
3523
3525
  function writeLoadAsset(assetId, flush, triggers) {
3524
3526
  const g = $global();
@@ -4047,7 +4049,7 @@ const compat = {
4047
4049
  if (reorders) for (const reorder of reorders) state.reorder(reorder);
4048
4050
  if (boundary.flush() === 0) ({html, scripts} = chunk.flush(boundary));
4049
4051
  if (boundary.aborted) throw boundary.reason;
4050
- if (boundary.count) throw new Error("Cannot serialize promise across tags/class compat layer.");
4052
+ if (boundary.count) throw /* @__PURE__ */ new Error("Cannot serialize promise across tags/class compat layer.");
4051
4053
  return {
4052
4054
  html,
4053
4055
  scripts
@@ -4232,6 +4234,7 @@ exports._script = _script;
4232
4234
  exports._set_scope_reason = _set_scope_reason;
4233
4235
  exports._show_end = _show_end;
4234
4236
  exports._show_start = _show_start;
4237
+ exports._signal_read_error = _signal_read_error;
4235
4238
  exports._style_html = _style_html;
4236
4239
  exports._subscribe = _subscribe;
4237
4240
  exports._template = _template;
@@ -226,6 +226,9 @@ function _el_read_error() {
226
226
  function _hoist_read_error() {
227
227
  throw new Error("Hoisted values can only be read in scripts and event handlers.");
228
228
  }
229
+ function _signal_read_error() {
230
+ throw new Error("Cannot use $signal in a server render.");
231
+ }
229
232
  function _assert_hoist(value) {
230
233
  if (value !== void 0 && typeof value !== "function") throw new Error(`Hoisted values must be functions, received type "${typeof value}".`);
231
234
  }
@@ -2086,7 +2089,6 @@ const WALKER_RUNTIME_CODE = `((runtimeId) => (self[runtimeId] ||= (
2086
2089
  ) =>
2087
2090
  doc = (self[runtimeId][renderId] = {
2088
2091
  i: prefix,
2089
- d: doc,
2090
2092
  l: lookup,
2091
2093
  v: visits,
2092
2094
  x() {},
@@ -2130,7 +2132,7 @@ const REORDER_RUNTIME_CODE = `((runtime) => {
2130
2132
  (placeholders[id] = placeholder).i++;
2131
2133
  } else if (node.tagName == "T" && (id = node.getAttribute(runtime.i))) {
2132
2134
  nextSibling = node.nextSibling;
2133
- onNextSibling = () => {
2135
+ onNextSibling = (_) => {
2134
2136
  node.remove();
2135
2137
  placeholderRoot || replace(id, node);
2136
2138
  placeholder.c();
@@ -2163,7 +2165,7 @@ const REORDER_RUNTIME_CODE = `((runtime) => {
2163
2165
  // repurpose "op" for callbacks ...carefully
2164
2166
  if ((op = runtime.j[id])) {
2165
2167
  placeholderCb = placeholder.c;
2166
- placeholder.c = () => placeholderCb() || op(runtime.r);
2168
+ placeholder.c = (_) => placeholderCb() || op(runtime.r);
2167
2169
  }
2168
2170
  }
2169
2171
  };
@@ -3491,7 +3493,7 @@ var ServerRendered = class {
3491
3493
  toString() {
3492
3494
  const head = this.#head;
3493
3495
  this.#head = null;
3494
- if (!head) throw new Error(CONSUMED_RESULT_MESSAGE);
3496
+ if (!head) throw /* @__PURE__ */ new Error(CONSUMED_RESULT_MESSAGE);
3495
3497
  const { boundary } = head;
3496
3498
  const html = boundary.flush() === 0 ? head.consume(boundary).flushHTML(boundary) : "";
3497
3499
  if (boundary.count) boundary.abort(/* @__PURE__ */ new Error("Cannot consume asynchronous render with 'toString'"));
@@ -3509,14 +3511,14 @@ function NOOP$1() {}
3509
3511
  //#region src/html/assets.ts
3510
3512
  const kAssets = Symbol();
3511
3513
  const kHead = Symbol();
3512
- function withLoadAssets(renderer, flush, assetId, triggers) {
3513
- return register(renderer["id"], Object.assign((input) => {
3514
+ function withLoadAssets(template, id, flush, assetId, triggers) {
3515
+ const renderer = (input) => {
3514
3516
  writeLoadAsset(assetId, flush, triggers);
3515
- return writeWaitReady(assetId, renderer, input);
3516
- }, {
3517
- ...renderer,
3518
- [Lazy]: 1
3519
- }));
3517
+ return writeWaitReady(assetId, template(), input);
3518
+ };
3519
+ renderer[Lazy] = 1;
3520
+ _template(id, renderer);
3521
+ return renderer;
3520
3522
  }
3521
3523
  function writeLoadAsset(assetId, flush, triggers) {
3522
3524
  const g = $global();
@@ -4045,7 +4047,7 @@ const compat = {
4045
4047
  if (reorders) for (const reorder of reorders) state.reorder(reorder);
4046
4048
  if (boundary.flush() === 0) ({html, scripts} = chunk.flush(boundary));
4047
4049
  if (boundary.aborted) throw boundary.reason;
4048
- if (boundary.count) throw new Error("Cannot serialize promise across tags/class compat layer.");
4050
+ if (boundary.count) throw /* @__PURE__ */ new Error("Cannot serialize promise across tags/class compat layer.");
4049
4051
  return {
4050
4052
  html,
4051
4053
  scripts
@@ -4159,4 +4161,4 @@ function swapReorders(state, reorders) {
4159
4161
  }
4160
4162
  function NOOP() {}
4161
4163
  //#endregion
4162
- export { $global, _assert_class_toggles, _assert_hoist, _attr, _attr_and, _attr_class, _attr_content, _attr_details_or_dialog_open as _attr_details_open, _attr_details_or_dialog_open as _attr_dialog_open, _attr_input_checked, _attr_input_checkedValue, _attr_input_value, _attr_nonce, _attr_nullish, _attr_option_value, _attr_or, _attr_select_value, _attr_style, _attr_textarea_value, _attrs, _attrs_content, _attrs_partial, _attrs_partial_content, _attrs_select_value, _attrs_textarea_value, _await, _content, _content_resume, _dynamic_tag, _el, _el_read_error, _el_resume, _escape, _escape_comment, _escape_script, _escape_style, _escape_style_value, _existing_scope, _flush_head, _for_in, _for_of, _for_to, _for_until, _hoist, _hoist_read_error, _html, _html_resume, _id, _if, _peek_scope_id, _resume, _resume_branch, _resume_locals, writeScope as _scope, _scope_id, _scope_reason, _scope_with_id, _script, _set_scope_reason, _show_end, _show_start, _style_html, _subscribe, _template, _text_resume, _textarea_value, _to_text, _trailers, _try, _unescaped, _var, _write_guard, _write_if, attrTag, attrTags, compat, forIn, forOf, forTo, forUntil, withLoadAssets, withPageAssets };
4164
+ export { $global, _assert_class_toggles, _assert_hoist, _attr, _attr_and, _attr_class, _attr_content, _attr_details_or_dialog_open as _attr_details_open, _attr_details_or_dialog_open as _attr_dialog_open, _attr_input_checked, _attr_input_checkedValue, _attr_input_value, _attr_nonce, _attr_nullish, _attr_option_value, _attr_or, _attr_select_value, _attr_style, _attr_textarea_value, _attrs, _attrs_content, _attrs_partial, _attrs_partial_content, _attrs_select_value, _attrs_textarea_value, _await, _content, _content_resume, _dynamic_tag, _el, _el_read_error, _el_resume, _escape, _escape_comment, _escape_script, _escape_style, _escape_style_value, _existing_scope, _flush_head, _for_in, _for_of, _for_to, _for_until, _hoist, _hoist_read_error, _html, _html_resume, _id, _if, _peek_scope_id, _resume, _resume_branch, _resume_locals, writeScope as _scope, _scope_id, _scope_reason, _scope_with_id, _script, _set_scope_reason, _show_end, _show_start, _signal_read_error, _style_html, _subscribe, _template, _text_resume, _textarea_value, _to_text, _trailers, _try, _unescaped, _var, _write_guard, _write_if, attrTag, attrTags, compat, forIn, forOf, forTo, forUntil, withLoadAssets, withPageAssets };
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-60R4bRWD.js"), deferToPendingTry = (fn, scope, branch) => {
2
+ let require_control_flow = require("../dom-Bpkm72vV.js"), deferToPendingTry = (fn, scope, branch) => {
3
3
  for (; branch;) {
4
- if (branch.O?.i) return (scope.J ||= ((branch.JS ||= (branch.O.m && ((complete) => branch.O.c = () => complete() || require_control_flow.ln(branch, require_control_flow.un, require_control_flow.y))(branch.O.c), [])).push(scope), /* @__PURE__ */ new Set())).add(fn);
4
+ if (branch.O?.i) return (scope.J ||= ((branch.JS ||= (branch.O.m && ((complete) => branch.O.c = (_) => complete() || require_control_flow.cn(branch, require_control_flow.ln, require_control_flow.y))(branch.O.c), [])).push(scope), /* @__PURE__ */ new Set())).add(fn);
5
5
  branch = branch.N;
6
6
  }
7
7
  };
8
8
  //#region src/dom/catch.feat.ts
9
- require_control_flow.sn((effects) => {
9
+ require_control_flow.on((effects) => {
10
10
  let i = 0, fn, scope, branch;
11
11
  for (; i < effects.length;) fn = effects[i++], scope = effects[i++], (branch = scope.F)?.H !== 0 && !deferToPendingTry(fn, scope, branch) && fn(scope);
12
12
  }, (runRender) => (render) => {
@@ -1,10 +1,10 @@
1
1
  let deferToPendingTry = (fn, scope, branch) => {
2
2
  for (; branch;) {
3
- if (branch.O?.i) return (scope.J ||= ((branch.JS ||= (branch.O.m && ((complete) => branch.O.c = () => complete() || queueAsyncRender(branch, queueEffect, runPendingEffects))(branch.O.c), [])).push(scope), /* @__PURE__ */ new Set())).add(fn);
3
+ if (branch.O?.i) return (scope.J ||= ((branch.JS ||= (branch.O.m && ((complete) => branch.O.c = (_) => complete() || queueAsyncRender(branch, queueEffect, runPendingEffects))(branch.O.c), [])).push(scope), /* @__PURE__ */ new Set())).add(fn);
4
4
  branch = branch.N;
5
5
  }
6
6
  };
7
- import { ln as queueAsyncRender, sn as installCatch, un as queueEffect, v as renderCatch, y as runPendingEffects } from "../dom-Ci2W4l1P.mjs";
7
+ import { cn as queueAsyncRender, ln as queueEffect, on as installCatch, v as renderCatch, y as runPendingEffects } from "../dom-CVAevsbz.mjs";
8
8
  //#region src/dom/catch.feat.ts
9
9
  installCatch((effects) => {
10
10
  let i = 0, fn, scope, branch;
@@ -6,7 +6,7 @@ export declare function _await_content(nodeAccessor: EncodedAccessor, template?:
6
6
  export declare function startAwait(scope: Scope, tryBranch?: BranchScope | undefined): AwaitCounter | undefined;
7
7
  export declare function runPendingEffects(tryBranch: BranchScope): void;
8
8
  export declare function _try(nodeAccessor: EncodedAccessor, template?: string | 0, walks?: string | 0, setup?: SetupFn | 0, placeholderContent?: ReturnType<typeof _content> | 0, catchContent?: ReturnType<typeof _content>): (scope: Scope) => void;
9
- export declare function renderCatch(scope: Scope, error: unknown): void;
9
+ export declare function renderCatch(scope: Scope, error?: unknown): void;
10
10
  export declare const _if: (nodeAccessor: EncodedAccessor, ...branchesArgs: (string | SetupFn | 0)[]) => (scope: Scope, newBranch: number) => void;
11
11
  export declare const _show: (nodeAccessor: EncodedAccessor, startNodeAccessor?: EncodedAccessor, endNodeAccessor?: EncodedAccessor) => (scope: Scope, display: unknown) => void;
12
12
  export declare function rendererKey(renderer: Renderer | string | undefined): string | Renderer | undefined;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-60R4bRWD.js");
2
+ let require_control_flow = require("../dom-Bpkm72vV.js");
3
3
  require_control_flow.H[0] = require_control_flow.k, require_control_flow.H[1] = require_control_flow.D, require_control_flow.H[2] = require_control_flow.P;
4
4
  //#endregion
@@ -1,3 +1,3 @@
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-Ci2W4l1P.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-CVAevsbz.mjs";
2
2
  controllableScripts[0] = _attr_input_checked_script, controllableScripts[1] = _attr_input_checkedValue_script, controllableScripts[2] = _attr_input_value_script;
3
3
  //#endregion
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-60R4bRWD.js");
2
+ let require_control_flow = require("../dom-Bpkm72vV.js");
3
3
  //#region src/dom/controllable-open.feat.ts
4
4
  require_control_flow.H[4] = require_control_flow.C;
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- import { C as _attr_details_or_dialog_open_script, H as controllableScripts } from "../dom-Ci2W4l1P.mjs";
1
+ import { C as _attr_details_or_dialog_open_script, H as controllableScripts } from "../dom-CVAevsbz.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
- let require_control_flow = require("../dom-60R4bRWD.js");
2
+ let require_control_flow = require("../dom-Bpkm72vV.js");
3
3
  //#region src/dom/controllable-select.feat.ts
4
4
  require_control_flow.H[3] = require_control_flow.L;
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- import { H as controllableScripts, L as _attr_select_value_script } from "../dom-Ci2W4l1P.mjs";
1
+ import { H as controllableScripts, L as _attr_select_value_script } from "../dom-CVAevsbz.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
- let require_control_flow = require("../dom-60R4bRWD.js");
2
+ let require_control_flow = require("../dom-Bpkm72vV.js");
3
3
  //#region src/dom/controllable-textarea.feat.ts
4
4
  require_control_flow.H[2] = require_control_flow.P;
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- import { H as controllableScripts, P as _attr_input_value_script } from "../dom-Ci2W4l1P.mjs";
1
+ import { H as controllableScripts, P as _attr_input_value_script } from "../dom-CVAevsbz.mjs";
2
2
  //#region src/dom/controllable-textarea.feat.ts
3
3
  controllableScripts[2] = _attr_input_value_script;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-60R4bRWD.js");
2
+ let require_control_flow = require("../dom-Bpkm72vV.js");
3
3
  require("./controllable-input.feat.js"), require("./controllable-open.feat.js"), require("./controllable-select.feat.js"), require_control_flow.U.INPUT = require_control_flow.R, require_control_flow.U.TEXTAREA = require_control_flow.V, require_control_flow.U.SELECT = require_control_flow.B, require_control_flow.U.DETAILS = require_control_flow.U.DIALOG = require_control_flow.z;
4
4
  //#endregion
@@ -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-Ci2W4l1P.mjs";
1
+ import { B as _controllable_select, R as _controllable_input, U as controllableSpreadHelpers, V as _controllable_textarea, z as _controllable_open } from "../dom-CVAevsbz.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
- let require_control_flow = require("../dom-60R4bRWD.js");
2
+ let require_control_flow = require("../dom-Bpkm72vV.js");
3
3
  //#region src/dom/dynamic-tag-script.feat.ts
4
- require_control_flow.Ct._d = require_control_flow.wn(require_control_flow.h);
4
+ require_control_flow.Ct._d = require_control_flow.Cn(require_control_flow.h);
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
- import { Ct as _resumed, h as dynamicTagScript, wn as withBranches } from "../dom-Ci2W4l1P.mjs";
1
+ import { Cn as withBranches, Ct as _resumed, h as dynamicTagScript } from "../dom-CVAevsbz.mjs";
2
2
  //#region src/dom/dynamic-tag-script.feat.ts
3
3
  _resumed._d = withBranches(dynamicTagScript);
4
4
  //#endregion
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- let require_control_flow = require("../dom-60R4bRWD.js");
3
- require_control_flow.on(), require_control_flow.g((scope, branch, scopeKey, renderer) => {
4
- branch.BR = require_control_flow.an(scope, scopeKey), typeof renderer == "string" && branch.T(() => branch.S);
2
+ let require_control_flow = require("../dom-Bpkm72vV.js");
3
+ require_control_flow.an(), require_control_flow.g((scope, branch, scopeKey, renderer) => {
4
+ branch.BR = require_control_flow.in(scope, scopeKey), typeof renderer == "string" && branch.T((_) => branch.S);
5
5
  });
6
6
  //#endregion
@@ -1,5 +1,5 @@
1
- import { an as createBranchRenders, g as installDynamicTagVar, on as installBranchRenders } from "../dom-Ci2W4l1P.mjs";
1
+ import { an as installBranchRenders, g as installDynamicTagVar, in as createBranchRenders } from "../dom-CVAevsbz.mjs";
2
2
  installBranchRenders(), installDynamicTagVar((scope, branch, scopeKey, renderer) => {
3
- branch.BR = createBranchRenders(scope, scopeKey), typeof renderer == "string" && branch.T(() => branch.S);
3
+ branch.BR = createBranchRenders(scope, scopeKey), typeof renderer == "string" && branch.T((_) => branch.S);
4
4
  });
5
5
  //#endregion
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  //#region src/dom/lazy.feat.ts
3
- require("../dom-60R4bRWD.js").At();
3
+ require("../dom-Bpkm72vV.js").At();
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { At as withLazy } from "../dom-Ci2W4l1P.mjs";
1
+ import { At as withLazy } from "../dom-CVAevsbz.mjs";
2
2
  //#region src/dom/lazy.feat.ts
3
3
  withLazy();
4
4
  //#endregion