marko 6.0.60 → 6.0.62

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.
package/dist/html.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  // src/common/attr-tag.ts
2
2
  var empty = [], rest = Symbol();
3
- function attrTag(attrs2) {
4
- return attrs2[Symbol.iterator] = attrTagIterator, attrs2[rest] = empty, attrs2;
3
+ function attrTag(attrs) {
4
+ return attrs[Symbol.iterator] = attrTagIterator, attrs[rest] = empty, attrs;
5
5
  }
6
- function attrTags(first, attrs2) {
7
- return first ? (first[rest] === empty ? first[rest] = [attrs2] : first[rest].push(attrs2), first) : attrTag(attrs2);
6
+ function attrTags(first, attrs) {
7
+ return first ? (first[rest] === empty ? first[rest] = [attrs] : first[rest].push(attrs), first) : attrTag(attrs);
8
8
  }
9
9
  function* attrTagIterator() {
10
10
  yield this, yield* this[rest];
@@ -50,22 +50,22 @@ function normalizeDynamicRenderer(value) {
50
50
  }
51
51
 
52
52
  // src/html/content.ts
53
- function toString(val) {
53
+ function _unescaped(val) {
54
54
  return val ? val + "" : val === 0 ? "0" : "";
55
55
  }
56
56
  var unsafeXMLReg = /[<&]/g, replaceUnsafeXML = (c) => c === "&" ? "&amp;" : "&lt;", escapeXMLStr = (str) => unsafeXMLReg.test(str) ? str.replace(unsafeXMLReg, replaceUnsafeXML) : str;
57
- function escapeXML(val) {
57
+ function _escape(val) {
58
58
  return val ? escapeXMLStr(val + "") : val === 0 ? "0" : "&zwj;";
59
59
  }
60
60
  function escapeTextAreaValue(val) {
61
61
  return val ? escapeXMLStr(val + "") : val === 0 ? "0" : "";
62
62
  }
63
63
  var unsafeScriptReg = /<\/script/g, escapeScriptStr = (str) => unsafeScriptReg.test(str) ? str.replace(unsafeScriptReg, "\\x3C/script") : str;
64
- function escapeScript(val) {
64
+ function _escape_script(val) {
65
65
  return val ? escapeScriptStr(val + "") : val === 0 ? "0" : "";
66
66
  }
67
67
  var unsafeStyleReg = /<\/style/g, escapeStyleStr = (str) => unsafeStyleReg.test(str) ? str.replace(unsafeStyleReg, "\\3C/style") : str;
68
- function escapeStyle(val) {
68
+ function _escape_style(val) {
69
69
  return val ? escapeStyleStr(val + "") : val === 0 ? "0" : "";
70
70
  }
71
71
 
@@ -484,7 +484,7 @@ function writeProp(state, val, parent, accessor) {
484
484
  return !1;
485
485
  }
486
486
  }
487
- function writeReferenceOr(state, write2, val, parent, accessor) {
487
+ function writeReferenceOr(state, write, val, parent, accessor) {
488
488
  let ref = state.refs.get(val);
489
489
  if (ref)
490
490
  return ref.init ? (addAssignment(ref, ensureId(state, parent) + toAccess(accessor)), !1) : isCircular(parent, ref) ? (ref.assigns || (ensureId(state, ref), state.assigned.add(ref)), addAssignment(ref, ensureId(state, parent) + toAccess(accessor)), !1) : (state.buf.push(ensureId(state, ref)), !0);
@@ -492,7 +492,7 @@ function writeReferenceOr(state, write2, val, parent, accessor) {
492
492
  return registered ? writeRegistered(state, val, parent, accessor, registered) : (state.refs.set(
493
493
  val,
494
494
  ref = new Reference(parent, accessor, state.flush, state.buf.length)
495
- ), write2(state, val, ref) ? !0 : (state.refs.delete(ref), !1));
495
+ ), write(state, val, ref) ? !0 : (state.refs.delete(ref), !1));
496
496
  }
497
497
  function writeRegistered(state, val, parent, accessor, { access, scope, getter }) {
498
498
  if (scope) {
@@ -1014,24 +1014,24 @@ function getState() {
1014
1014
  function getScopeId(scope) {
1015
1015
  return scope[K_SCOPE_ID];
1016
1016
  }
1017
- function write(html) {
1017
+ function _html(html) {
1018
1018
  $chunk.writeHTML(html);
1019
1019
  }
1020
1020
  function writeScript(script) {
1021
1021
  $chunk.writeScript(script);
1022
1022
  }
1023
- function writeEffect(scopeId, registryId) {
1023
+ function _script(scopeId, registryId) {
1024
1024
  $chunk.boundary.state.needsMainRuntime = !0, $chunk.writeEffect(scopeId, registryId);
1025
1025
  }
1026
- function writeContent(nodeAccessor, scopeId, content, serializeReason) {
1027
- let shouldResume = serializeReason !== 0, render2 = normalizeServerRender(content), branchId = peekNextScopeId();
1028
- render2 && (shouldResume ? withBranchId(branchId, render2) : render2()), peekNextScopeId() !== branchId ? shouldResume && writeScope(scopeId, {
1026
+ function _attr_content(nodeAccessor, scopeId, content, serializeReason) {
1027
+ let shouldResume = serializeReason !== 0, render2 = normalizeServerRender(content), branchId = _peek_scope_id();
1028
+ render2 && (shouldResume ? withBranchId(branchId, render2) : render2()), _peek_scope_id() !== branchId ? shouldResume && writeScope(scopeId, {
1029
1029
  ["d" /* ConditionalScope */ + nodeAccessor]: writeScope(
1030
1030
  branchId,
1031
1031
  {}
1032
1032
  ),
1033
1033
  ["c" /* ConditionalRenderer */ + nodeAccessor]: render2?.h
1034
- }) : nextScopeId();
1034
+ }) : _scope_id();
1035
1035
  }
1036
1036
  function normalizeServerRender(value) {
1037
1037
  let renderer = normalizeDynamicRenderer(value);
@@ -1048,55 +1048,55 @@ function withContext(key, value, cb) {
1048
1048
  ctx[kPendingContexts]--, ctx[key] = prev;
1049
1049
  }
1050
1050
  }
1051
- function setTagVar(parentScopeId, scopeOffsetAccessor, childScopeId, registryId) {
1052
- ensureScopeWithId(parentScopeId)[scopeOffsetAccessor] = nextScopeId(), ensureScopeWithId(childScopeId).e = register2(
1051
+ function _var(parentScopeId, scopeOffsetAccessor, childScopeId, registryId) {
1052
+ _scope_with_id(parentScopeId)[scopeOffsetAccessor] = _scope_id(), _scope_with_id(childScopeId).e = _resume(
1053
1053
  {},
1054
1054
  registryId,
1055
1055
  parentScopeId
1056
1056
  );
1057
1057
  }
1058
- function register2(val, id, scopeId) {
1059
- return scopeId === void 0 ? register(id, val) : register(id, val, ensureScopeWithId(scopeId));
1058
+ function _resume(val, id, scopeId) {
1059
+ return scopeId === void 0 ? register(id, val) : register(id, val, _scope_with_id(scopeId));
1060
1060
  }
1061
- function nextTagId() {
1061
+ function _id() {
1062
1062
  let state = $chunk.boundary.state, { $global: $global2 } = state;
1063
1063
  return "s" + $global2.runtimeId + $global2.renderId + (state.tagId++).toString(36);
1064
1064
  }
1065
- function nextScopeId() {
1065
+ function _scope_id() {
1066
1066
  return $chunk.boundary.state.scopeId++;
1067
1067
  }
1068
- function peekNextScopeId() {
1068
+ function _peek_scope_id() {
1069
1069
  return $chunk.boundary.state.scopeId;
1070
1070
  }
1071
1071
  function getScopeById(scopeId) {
1072
1072
  if (scopeId !== void 0)
1073
1073
  return $chunk.boundary.state.scopes.get(scopeId);
1074
1074
  }
1075
- function serializeIf(condition, key) {
1075
+ function _serialize_if(condition, key) {
1076
1076
  return condition && (condition === 1 || condition[key]) ? 1 : void 0;
1077
1077
  }
1078
- function serializeGuard(condition, key) {
1078
+ function _serialize_guard(condition, key) {
1079
1079
  return condition && (condition === 1 || condition[key]) ? 1 : 0;
1080
1080
  }
1081
- function markResumeNode(scopeId, accessor, shouldResume) {
1081
+ function _el_resume(scopeId, accessor, shouldResume) {
1082
1082
  if (shouldResume === 0) return "";
1083
1083
  let { state } = $chunk.boundary;
1084
1084
  return state.needsMainRuntime = !0, state.mark("*" /* Node */, scopeId + " " + accessor);
1085
1085
  }
1086
- function commentSeparator(shouldResume) {
1086
+ function _sep(shouldResume) {
1087
1087
  return shouldResume === 0 ? "" : "<!>";
1088
1088
  }
1089
- function nodeRef(scopeId, id) {
1089
+ function _el(scopeId, id) {
1090
1090
  let getter = () => {
1091
1091
  };
1092
- return id ? register2(getter, id, scopeId) : getter;
1092
+ return id ? _resume(getter, id, scopeId) : getter;
1093
1093
  }
1094
- function hoist(scopeId, id) {
1094
+ function _hoist(scopeId, id) {
1095
1095
  let getter = () => {
1096
1096
  };
1097
- return getter[Symbol.iterator] = getter, id ? register2(getter, id, scopeId) : getter;
1097
+ return getter[Symbol.iterator] = getter, id ? _resume(getter, id, scopeId) : getter;
1098
1098
  }
1099
- function resumeClosestBranch(scopeId) {
1099
+ function _resume_branch(scopeId) {
1100
1100
  let branchId = $chunk.context?.[branchIdKey];
1101
1101
  branchId !== void 0 && branchId !== scopeId && writeScope(scopeId, { g: branchId });
1102
1102
  }
@@ -1107,15 +1107,15 @@ function isInResumedBranch() {
1107
1107
  function withBranchId(branchId, cb) {
1108
1108
  return withContext(branchIdKey, branchId, cb);
1109
1109
  }
1110
- function resumeForOf(list, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
1111
- let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, singleNodeBranchIds = "";
1110
+ function _for_of(list, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
1111
+ let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, flushBranchIds = "";
1112
1112
  if (resumeBranch) {
1113
1113
  let loopScopes = /* @__PURE__ */ new Map();
1114
1114
  forOf(list, (item, index) => {
1115
- let branchId = peekNextScopeId();
1116
- resumeMarker && (singleNode ? singleNodeBranchIds = " " + branchId + singleNodeBranchIds : $chunk.writeHTML(
1117
- state.mark("[" /* BranchStart */, branchId + (index ? " " : ""))
1118
- )), withBranchId(branchId, () => {
1115
+ let branchId = _peek_scope_id();
1116
+ resumeMarker && (singleNode ? flushBranchIds = " " + branchId + flushBranchIds : ($chunk.writeHTML(
1117
+ state.mark("[" /* BranchStart */, flushBranchIds)
1118
+ ), flushBranchIds = branchId + "")), withBranchId(branchId, () => {
1119
1119
  cb(item, index), loopScopes.set(forOfBy(by, item, index), writeScope(branchId, {}));
1120
1120
  });
1121
1121
  }), loopScopes.size && writeScope(scopeId, {
@@ -1126,23 +1126,22 @@ function resumeForOf(list, cb, by, scopeId, accessor, serializeBranch, serialize
1126
1126
  writeBranchEnd(
1127
1127
  scopeId,
1128
1128
  accessor,
1129
+ resumeBranch,
1129
1130
  resumeMarker,
1130
1131
  parentEndTag,
1131
- resumeMarker && (!parentEndTag || resumeBranch) && (singleNode ? state.mark(
1132
- parentEndTag ? "=" /* BranchSingleNodeOnlyChildInParent */ : "|" /* BranchSingleNode */,
1133
- scopeId + " " + accessor + singleNodeBranchIds
1134
- ) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
1132
+ singleNode,
1133
+ singleNode ? flushBranchIds : flushBranchIds ? " " + flushBranchIds : ""
1135
1134
  );
1136
1135
  }
1137
- function resumeForIn(obj, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
1138
- let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, singleNodeBranchIds = "";
1136
+ function _for_in(obj, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
1137
+ let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, flushBranchIds = "";
1139
1138
  if (resumeBranch) {
1140
- let loopScopes = /* @__PURE__ */ new Map(), sep = "";
1139
+ let loopScopes = /* @__PURE__ */ new Map();
1141
1140
  forIn(obj, (key, value) => {
1142
- let branchId = peekNextScopeId();
1143
- resumeMarker && (singleNode ? singleNodeBranchIds = " " + branchId + singleNodeBranchIds : ($chunk.writeHTML(
1144
- state.mark("[" /* BranchStart */, branchId + sep)
1145
- ), sep = " ")), withBranchId(branchId, () => {
1141
+ let branchId = _peek_scope_id();
1142
+ resumeMarker && (singleNode ? flushBranchIds = " " + branchId + flushBranchIds : ($chunk.writeHTML(
1143
+ state.mark("[" /* BranchStart */, flushBranchIds)
1144
+ ), flushBranchIds = branchId + "")), withBranchId(branchId, () => {
1146
1145
  cb(key, value), loopScopes.set(forInBy(by, key, value), writeScope(branchId, {}));
1147
1146
  });
1148
1147
  }), loopScopes.size && writeScope(scopeId, {
@@ -1153,23 +1152,22 @@ function resumeForIn(obj, cb, by, scopeId, accessor, serializeBranch, serializeM
1153
1152
  writeBranchEnd(
1154
1153
  scopeId,
1155
1154
  accessor,
1155
+ resumeBranch,
1156
1156
  resumeMarker,
1157
1157
  parentEndTag,
1158
- resumeMarker && (!parentEndTag || resumeBranch) && (singleNode ? state.mark(
1159
- parentEndTag ? "=" /* BranchSingleNodeOnlyChildInParent */ : "|" /* BranchSingleNode */,
1160
- scopeId + " " + accessor + singleNodeBranchIds
1161
- ) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
1158
+ singleNode,
1159
+ singleNode ? flushBranchIds : flushBranchIds ? " " + flushBranchIds : ""
1162
1160
  );
1163
1161
  }
1164
- function resumeForTo(to, from, step, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
1165
- let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, singleNodeBranchIds = "";
1162
+ function _for_to(to, from, step, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
1163
+ let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, flushBranchIds = "";
1166
1164
  if (resumeBranch) {
1167
- let loopScopes = /* @__PURE__ */ new Map(), sep = "";
1165
+ let loopScopes = /* @__PURE__ */ new Map();
1168
1166
  forTo(to, from, step, (i) => {
1169
- let branchId = peekNextScopeId();
1170
- resumeMarker && (singleNode ? singleNodeBranchIds = " " + branchId + singleNodeBranchIds : ($chunk.writeHTML(
1171
- state.mark("[" /* BranchStart */, branchId + sep)
1172
- ), sep = " ")), withBranchId(branchId, () => {
1167
+ let branchId = _peek_scope_id();
1168
+ resumeMarker && (singleNode ? flushBranchIds = " " + branchId + flushBranchIds : ($chunk.writeHTML(
1169
+ state.mark("[" /* BranchStart */, flushBranchIds)
1170
+ ), flushBranchIds = branchId + "")), withBranchId(branchId, () => {
1173
1171
  cb(i), loopScopes.set(forToBy(by, i), writeScope(branchId, {}));
1174
1172
  });
1175
1173
  }), loopScopes.size && writeScope(scopeId, {
@@ -1180,17 +1178,16 @@ function resumeForTo(to, from, step, cb, by, scopeId, accessor, serializeBranch,
1180
1178
  writeBranchEnd(
1181
1179
  scopeId,
1182
1180
  accessor,
1181
+ resumeBranch,
1183
1182
  resumeMarker,
1184
1183
  parentEndTag,
1185
- resumeMarker && (!parentEndTag || resumeBranch) && (singleNode ? state.mark(
1186
- parentEndTag ? "=" /* BranchSingleNodeOnlyChildInParent */ : "|" /* BranchSingleNode */,
1187
- scopeId + " " + accessor + singleNodeBranchIds
1188
- ) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
1184
+ singleNode,
1185
+ singleNode ? flushBranchIds : flushBranchIds ? " " + flushBranchIds : ""
1189
1186
  );
1190
1187
  }
1191
- function resumeConditional(cb, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
1192
- let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, branchId = peekNextScopeId();
1193
- resumeMarker && resumeBranch && !singleNode && $chunk.writeHTML(state.mark("[" /* BranchStart */, branchId + ""));
1188
+ function _if(cb, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
1189
+ let { state } = $chunk.boundary, resumeBranch = serializeBranch !== 0, resumeMarker = serializeMarker !== 0, branchId = _peek_scope_id();
1190
+ resumeMarker && resumeBranch && !singleNode && $chunk.writeHTML(state.mark("[" /* BranchStart */, ""));
1194
1191
  let branchIndex = resumeBranch ? withBranchId(branchId, cb) : cb(), shouldWriteBranch = resumeBranch && branchIndex !== void 0;
1195
1192
  shouldWriteBranch && writeScope(scopeId, {
1196
1193
  ["c" /* ConditionalRenderer */ + accessor]: resumeMarker ? branchIndex : void 0,
@@ -1198,46 +1195,58 @@ function resumeConditional(cb, scopeId, accessor, serializeBranch, serializeMark
1198
1195
  }), writeBranchEnd(
1199
1196
  scopeId,
1200
1197
  accessor,
1198
+ resumeBranch,
1201
1199
  resumeMarker,
1202
1200
  parentEndTag,
1203
- resumeMarker && (!parentEndTag || resumeBranch) && (singleNode ? state.mark(
1204
- parentEndTag ? "=" /* BranchSingleNodeOnlyChildInParent */ : "|" /* BranchSingleNode */,
1205
- scopeId + " " + accessor + (shouldWriteBranch ? " " + branchId : "")
1206
- ) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
1201
+ singleNode,
1202
+ shouldWriteBranch ? " " + branchId : ""
1207
1203
  );
1208
1204
  }
1209
- function writeBranchEnd(scopeId, accessor, resumeMarker, parentEndTag, mark) {
1205
+ function writeBranchEnd(scopeId, accessor, resumeBranch, resumeMarker, parentEndTag, singleNode, branchIds) {
1210
1206
  let endTag = parentEndTag || "";
1211
- resumeMarker ? mark ? $chunk.writeHTML(mark + endTag) : $chunk.writeHTML(endTag + markResumeNode(scopeId, accessor)) : $chunk.writeHTML(endTag);
1207
+ if (resumeMarker)
1208
+ if (!parentEndTag || resumeBranch) {
1209
+ let { state } = $chunk.boundary, mark = singleNode ? state.mark(
1210
+ parentEndTag ? "}" /* BranchEndSingleNodeOnlyChildInParent */ : "|" /* BranchEndSingleNode */,
1211
+ scopeId + " " + accessor + (branchIds || "")
1212
+ ) : state.mark(
1213
+ parentEndTag ? ")" /* BranchEndOnlyChildInParent */ : "]" /* BranchEnd */,
1214
+ scopeId + " " + accessor + (branchIds || "")
1215
+ );
1216
+ $chunk.writeHTML(mark + endTag);
1217
+ } else
1218
+ $chunk.writeHTML(endTag + _el_resume(scopeId, accessor));
1219
+ else
1220
+ $chunk.writeHTML(endTag);
1212
1221
  }
1213
1222
  var writeScope = (scopeId, partialScope) => writeScopeToState($chunk.boundary.state, scopeId, partialScope);
1214
1223
  function writeScopeToState(state, scopeId, partialScope) {
1215
1224
  let { scopes } = state, scope = scopes.get(scopeId);
1216
1225
  return state.needsMainRuntime = !0, scope ? Object.assign(scope, partialScope) : (scope = partialScope, scope[K_SCOPE_ID] = scopeId, state.scopes.set(scopeId, scope)), state.writeScopes ? state.writeScopes[scopeId] = scope : state.writeScopes = { [scopeId]: scope }, scope;
1217
1226
  }
1218
- function writeExistingScope(scopeId) {
1219
- return writeScope(scopeId, ensureScopeWithId(scopeId));
1227
+ function _existing_scope(scopeId) {
1228
+ return writeScope(scopeId, _scope_with_id(scopeId));
1220
1229
  }
1221
- function ensureScopeWithId(scopeId) {
1230
+ function _scope_with_id(scopeId) {
1222
1231
  let { state } = $chunk.boundary, scope = state.scopes.get(scopeId);
1223
1232
  return scope || (scope = { [K_SCOPE_ID]: scopeId }, state.scopes.set(scopeId, scope)), scope;
1224
1233
  }
1225
1234
  function $global() {
1226
1235
  return $chunk.boundary.state.$global;
1227
1236
  }
1228
- function fork(scopeId, accessor, promise, content, serializeMarker) {
1237
+ function _await(scopeId, accessor, promise, content, serializeMarker) {
1229
1238
  let resumeMarker = serializeMarker !== 0;
1230
1239
  if (!isPromise(promise)) {
1231
1240
  if (resumeMarker) {
1232
- let branchId = peekNextScopeId();
1241
+ let branchId = _peek_scope_id();
1233
1242
  $chunk.writeHTML(
1234
- $chunk.boundary.state.mark("[" /* BranchStart */, branchId + "")
1243
+ $chunk.boundary.state.mark("[" /* BranchStart */, "")
1235
1244
  ), content(promise), writeScope(scopeId, {
1236
1245
  ["d" /* ConditionalScope */ + accessor]: writeScope(branchId, {})
1237
1246
  }), $chunk.writeHTML(
1238
1247
  $chunk.boundary.state.mark(
1239
1248
  "]" /* BranchEnd */,
1240
- scopeId + " " + accessor
1249
+ scopeId + " " + accessor + " " + branchId
1241
1250
  )
1242
1251
  );
1243
1252
  } else
@@ -1249,20 +1258,17 @@ function fork(scopeId, accessor, promise, content, serializeMarker) {
1249
1258
  (value) => {
1250
1259
  chunk.async && (chunk.async = !1, boundary.signal.aborted || (chunk.render(() => {
1251
1260
  if (resumeMarker) {
1252
- let branchId = peekNextScopeId();
1261
+ let branchId = _peek_scope_id();
1253
1262
  $chunk.writeHTML(
1254
- $chunk.boundary.state.mark(
1255
- "[" /* BranchStart */,
1256
- branchId + ""
1257
- )
1263
+ $chunk.boundary.state.mark("[" /* BranchStart */, "")
1258
1264
  ), content(value), boundary.state.serializer.writeAssign(
1259
1265
  writeScope(branchId, {}),
1260
- ensureScopeWithId(scopeId),
1266
+ _scope_with_id(scopeId),
1261
1267
  "d" /* ConditionalScope */ + accessor
1262
1268
  ), $chunk.writeHTML(
1263
1269
  $chunk.boundary.state.mark(
1264
1270
  "]" /* BranchEnd */,
1265
- scopeId + " " + accessor
1271
+ scopeId + " " + accessor + " " + branchId
1266
1272
  )
1267
1273
  );
1268
1274
  } else
@@ -1274,11 +1280,9 @@ function fork(scopeId, accessor, promise, content, serializeMarker) {
1274
1280
  }
1275
1281
  );
1276
1282
  }
1277
- function tryContent(scopeId, accessor, content, input) {
1278
- let branchId = peekNextScopeId();
1279
- $chunk.writeHTML(
1280
- $chunk.boundary.state.mark("[" /* BranchStart */, branchId + "")
1281
- );
1283
+ function _try(scopeId, accessor, content, input) {
1284
+ let branchId = _peek_scope_id();
1285
+ $chunk.writeHTML($chunk.boundary.state.mark("[" /* BranchStart */, ""));
1282
1286
  let catchContent = normalizeDynamicRenderer(input.catch), placeholderContent = normalizeDynamicRenderer(input.placeholder);
1283
1287
  catchContent ? tryCatch(
1284
1288
  placeholderContent ? () => tryPlaceholder(content, placeholderContent) : content,
@@ -1292,7 +1296,7 @@ function tryContent(scopeId, accessor, content, input) {
1292
1296
  }), $chunk.writeHTML(
1293
1297
  $chunk.boundary.state.mark(
1294
1298
  "]" /* BranchEnd */,
1295
- scopeId + " " + accessor
1299
+ scopeId + " " + accessor + " " + branchId
1296
1300
  )
1297
1301
  );
1298
1302
  }
@@ -1526,7 +1530,7 @@ function flushSerializer(boundary) {
1526
1530
  ), state.lastSerializedScopeId = lastSerializedScopeId, state.writeScopes = null, flushed && (state.walkOnNextFlush = !0);
1527
1531
  }
1528
1532
  }
1529
- function writeTrailers(html) {
1533
+ function _trailers(html) {
1530
1534
  $chunk.boundary.state.trailerHTML += html;
1531
1535
  }
1532
1536
  function concatEffects(a, b) {
@@ -1569,23 +1573,23 @@ function getFilteredGlobals($global2) {
1569
1573
  }
1570
1574
  return filtered;
1571
1575
  }
1572
- function writeSubscribe(subscribers, scope) {
1576
+ function _subscribe(subscribers, scope) {
1573
1577
  return $chunk.boundary.state.serializer.writeCall(scope, subscribers, "add"), scope;
1574
1578
  }
1575
1579
 
1576
1580
  // src/html/attrs.ts
1577
- function classAttr(value) {
1581
+ function _attr_class(value) {
1578
1582
  return stringAttr("class", classValue(value));
1579
1583
  }
1580
- function styleAttr(value) {
1584
+ function _attr_style(value) {
1581
1585
  return stringAttr("style", styleValue(value));
1582
1586
  }
1583
- function optionValueAttr(value) {
1587
+ function _attr_option_value(value) {
1584
1588
  let selectedValue = getContext(kSelectedValue);
1585
- return attr("value", value) + (!isVoid(value) && (Array.isArray(selectedValue) ? selectedValue.includes(value) : selectedValue === value) ? " selected" : "");
1589
+ return _attr("value", value) + (!isVoid(value) && (Array.isArray(selectedValue) ? selectedValue.includes(value) : selectedValue === value) ? " selected" : "");
1586
1590
  }
1587
1591
  var kSelectedValue = Symbol("selectedValue");
1588
- function controllable_select_value(scopeId, nodeAccessor, value, valueChange, content) {
1592
+ function _attr_select_value(scopeId, nodeAccessor, value, valueChange, content) {
1589
1593
  valueChange && writeControlledScope(
1590
1594
  3 /* SelectValue */,
1591
1595
  scopeId,
@@ -1594,7 +1598,7 @@ function controllable_select_value(scopeId, nodeAccessor, value, valueChange, co
1594
1598
  valueChange
1595
1599
  ), content && withContext(kSelectedValue, value, content);
1596
1600
  }
1597
- function controllable_textarea_value(scopeId, nodeAccessor, value, valueChange) {
1601
+ function _attr_textarea_value(scopeId, nodeAccessor, value, valueChange) {
1598
1602
  return valueChange && writeControlledScope(
1599
1603
  2 /* InputValue */,
1600
1604
  scopeId,
@@ -1603,26 +1607,26 @@ function controllable_textarea_value(scopeId, nodeAccessor, value, valueChange)
1603
1607
  valueChange
1604
1608
  ), escapeTextAreaValue(value);
1605
1609
  }
1606
- function controllable_input_value(scopeId, nodeAccessor, value, valueChange) {
1610
+ function _attr_input_value(scopeId, nodeAccessor, value, valueChange) {
1607
1611
  return valueChange && writeControlledScope(
1608
1612
  2 /* InputValue */,
1609
1613
  scopeId,
1610
1614
  nodeAccessor,
1611
1615
  void 0,
1612
1616
  valueChange
1613
- ), attr("value", value);
1617
+ ), _attr("value", value);
1614
1618
  }
1615
- function controllable_input_checked(scopeId, nodeAccessor, checked, checkedChange) {
1619
+ function _attr_input_checked(scopeId, nodeAccessor, checked, checkedChange) {
1616
1620
  return checkedChange && writeControlledScope(
1617
1621
  0 /* InputChecked */,
1618
1622
  scopeId,
1619
1623
  nodeAccessor,
1620
1624
  void 0,
1621
1625
  checkedChange
1622
- ), attr("checked", checked);
1626
+ ), _attr("checked", checked);
1623
1627
  }
1624
- function controllable_input_checkedValue(scopeId, nodeAccessor, checkedValue, checkedValueChange, value) {
1625
- let multiple = Array.isArray(checkedValue), valueAttr = attr("value", value);
1628
+ function _attr_input_checkedValue(scopeId, nodeAccessor, checkedValue, checkedValueChange, value) {
1629
+ let multiple = Array.isArray(checkedValue), valueAttr = _attr("value", value);
1626
1630
  return checkedValueChange && writeControlledScope(
1627
1631
  1 /* InputCheckedValue */,
1628
1632
  scopeId,
@@ -1631,31 +1635,31 @@ function controllable_input_checkedValue(scopeId, nodeAccessor, checkedValue, ch
1631
1635
  checkedValueChange
1632
1636
  ), (multiple ? checkedValue.includes(value) : checkedValue === value) ? valueAttr + " checked" : valueAttr;
1633
1637
  }
1634
- function controllable_detailsOrDialog_open(scopeId, nodeAccessor, open, openChange) {
1638
+ function _attr_details_or_dialog_open(scopeId, nodeAccessor, open, openChange) {
1635
1639
  return openChange && writeControlledScope(
1636
1640
  4 /* DetailsOrDialogOpen */,
1637
1641
  scopeId,
1638
1642
  nodeAccessor,
1639
1643
  open,
1640
1644
  openChange
1641
- ), attr("open", open);
1645
+ ), _attr("open", open);
1642
1646
  }
1643
- function attr(name, value) {
1647
+ function _attr(name, value) {
1644
1648
  return isVoid(value) ? "" : nonVoidAttr(name, value);
1645
1649
  }
1646
- function attrs(data, nodeAccessor, scopeId, tagName) {
1650
+ function _attrs(data, nodeAccessor, scopeId, tagName) {
1647
1651
  let result = "", skip = /[\s/>"'=]/, events;
1648
1652
  switch (tagName) {
1649
1653
  case "input":
1650
1654
  if (data.checkedChange)
1651
- result += controllable_input_checked(
1655
+ result += _attr_input_checked(
1652
1656
  scopeId,
1653
1657
  nodeAccessor,
1654
1658
  data.checked,
1655
1659
  data.checkedChange
1656
1660
  );
1657
1661
  else if (data.checkedValue || data.checkedValueChange)
1658
- result += controllable_input_checkedValue(
1662
+ result += _attr_input_checkedValue(
1659
1663
  scopeId,
1660
1664
  nodeAccessor,
1661
1665
  data.checkedValue,
@@ -1663,7 +1667,7 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
1663
1667
  data.value
1664
1668
  );
1665
1669
  else if (data.valueChange)
1666
- result += controllable_input_value(
1670
+ result += _attr_input_value(
1667
1671
  scopeId,
1668
1672
  nodeAccessor,
1669
1673
  data.value,
@@ -1678,11 +1682,11 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
1678
1682
  (data.value || data.valueChange) && (skip = /^value(?:Change)?$|[\s/>"'=]/);
1679
1683
  break;
1680
1684
  case "option":
1681
- data.value && (result += optionValueAttr(data.value), skip = /^value$|[\s/>"'=]/);
1685
+ data.value && (result += _attr_option_value(data.value), skip = /^value$|[\s/>"'=]/);
1682
1686
  break;
1683
1687
  case "details":
1684
1688
  case "dialog":
1685
- data.openChange && (result += controllable_detailsOrDialog_open(
1689
+ data.openChange && (result += _attr_details_or_dialog_open(
1686
1690
  scopeId,
1687
1691
  nodeAccessor,
1688
1692
  data.open,
@@ -1694,10 +1698,10 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
1694
1698
  let value = data[name];
1695
1699
  switch (name) {
1696
1700
  case "class":
1697
- result += classAttr(value);
1701
+ result += _attr_class(value);
1698
1702
  break;
1699
1703
  case "style":
1700
- result += styleAttr(value);
1704
+ result += _attr_style(value);
1701
1705
  break;
1702
1706
  default:
1703
1707
  name && !(isVoid(value) || skip.test(name) || name === "content" && tagName !== "meta") && (isEventHandler(name) ? (events || (events = {}, writeScope(scopeId, {
@@ -1708,17 +1712,17 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
1708
1712
  }
1709
1713
  return result;
1710
1714
  }
1711
- function writeAttrsAndContent(data, nodeAccessor, scopeId, tagName, serializeReason) {
1712
- write(`${attrs(data, nodeAccessor, scopeId, tagName)}>`), writeContent(nodeAccessor, scopeId, data?.content, serializeReason);
1715
+ function _attrs_content(data, nodeAccessor, scopeId, tagName, serializeReason) {
1716
+ _html(`${_attrs(data, nodeAccessor, scopeId, tagName)}>`), _attr_content(nodeAccessor, scopeId, data?.content, serializeReason);
1713
1717
  }
1714
- function partialAttrs(data, skip, nodeAccessor, scopeId, tagName) {
1718
+ function _attrs_partial(data, skip, nodeAccessor, scopeId, tagName) {
1715
1719
  let partial = {};
1716
1720
  for (let key in data)
1717
1721
  skip[key] || (partial[key] = data[key]);
1718
- return attrs(partial, nodeAccessor, scopeId, tagName);
1722
+ return _attrs(partial, nodeAccessor, scopeId, tagName);
1719
1723
  }
1720
- function writePartialAttrsAndContent(data, skip, nodeAccessor, scopeId, tagName, serializeReason) {
1721
- write(`${partialAttrs(data, skip, nodeAccessor, scopeId, tagName)}>`), writeContent(nodeAccessor, scopeId, data?.content, serializeReason);
1724
+ function _attrs_partial_content(data, skip, nodeAccessor, scopeId, tagName, serializeReason) {
1725
+ _html(`${_attrs_partial(data, skip, nodeAccessor, scopeId, tagName)}>`), _attr_content(nodeAccessor, scopeId, data?.content, serializeReason);
1722
1726
  }
1723
1727
  function writeControlledScope(type, scopeId, nodeAccessor, value, valueChange) {
1724
1728
  writeScope(scopeId, {
@@ -1772,7 +1776,7 @@ function replaceUnsafeDoubleQuoteAttrChar(match) {
1772
1776
  var RENDERER_REGISTER_ID = "$C_r", SET_SCOPE_REGISTER_ID = "$C_s", RENDER_BODY_ID = "$C_b";
1773
1777
 
1774
1778
  // src/html/template.ts
1775
- var createTemplate = (templateId, renderer) => (renderer.render = render, renderer._ = renderer, registerContent(templateId, renderer));
1779
+ var _template = (templateId, renderer) => (renderer.render = render, renderer._ = renderer, _content_resume(templateId, renderer));
1776
1780
  function isTemplate(renderer) {
1777
1781
  return !!renderer._;
1778
1782
  }
@@ -1890,12 +1894,12 @@ var ServerRendered = class {
1890
1894
  onAbort(new Error("Cannot read from a consumed render result"));
1891
1895
  return;
1892
1896
  }
1893
- let { boundary } = head, onNext = boundary.onNext = (write2) => {
1897
+ let { boundary } = head, onNext = boundary.onNext = (write) => {
1894
1898
  if (boundary.signal.aborted)
1895
1899
  tick2 || offTick(onNext), boundary.onNext = NOOP2, onAbort(boundary.signal.reason);
1896
1900
  else {
1897
1901
  let { done } = boundary;
1898
- if (done || write2) {
1902
+ if (done || write) {
1899
1903
  let html = (head = head.consume()).flushHTML();
1900
1904
  html && onWrite(html), done ? (tick2 || offTick(onNext), onClose()) : tick2 = !0;
1901
1905
  } else tick2 && (tick2 = !1, queueTick(onNext));
@@ -1917,17 +1921,17 @@ function NOOP2() {
1917
1921
  }
1918
1922
 
1919
1923
  // src/html/dynamic-tag.ts
1920
- var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/, dynamicTag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, serializeReason) => {
1921
- let shouldResume = serializeReason !== 0, renderer = normalizeDynamicRenderer(tag), state = getState(), branchId = peekNextScopeId(), result;
1924
+ var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/, _dynamic_tag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, serializeReason) => {
1925
+ let shouldResume = serializeReason !== 0, renderer = normalizeDynamicRenderer(tag), state = getState(), branchId = _peek_scope_id(), rendered = !1, result;
1922
1926
  if (typeof renderer == "string") {
1923
1927
  let input = (inputIsArgs ? inputOrArgs[0] : inputOrArgs) || {};
1924
- if (nextScopeId(), write(
1925
- `<${renderer}${attrs(input, 0, branchId, renderer)}>`
1928
+ if (rendered = !0, _scope_id(), _html(
1929
+ `<${renderer}${_attrs(input, 0, branchId, renderer)}>`
1926
1930
  ), !voidElementsReg.test(renderer)) {
1927
1931
  let renderContent = content || normalizeDynamicRenderer(input.content);
1928
1932
  if (renderer === "textarea")
1929
- write(
1930
- controllable_textarea_value(
1933
+ _html(
1934
+ _attr_textarea_value(
1931
1935
  branchId,
1932
1936
  0,
1933
1937
  input.value,
@@ -1939,13 +1943,13 @@ var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|p
1939
1943
  throw new Error(
1940
1944
  `Body content is not supported for the \`<${renderer}>\` tag.`
1941
1945
  );
1942
- renderer === "select" && ("value" in input || "valueChange" in input) ? controllable_select_value(
1946
+ renderer === "select" && ("value" in input || "valueChange" in input) ? _attr_select_value(
1943
1947
  branchId,
1944
1948
  0,
1945
1949
  input.value,
1946
1950
  input.valueChange,
1947
1951
  renderContent
1948
- ) : dynamicTag(
1952
+ ) : _dynamic_tag(
1949
1953
  branchId,
1950
1954
  0,
1951
1955
  renderContent,
@@ -1955,16 +1959,16 @@ var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|p
1955
1959
  serializeReason
1956
1960
  );
1957
1961
  }
1958
- write(`</${renderer}>`);
1962
+ _html(`</${renderer}>`);
1959
1963
  }
1960
- shouldResume && write(
1964
+ shouldResume && _html(
1961
1965
  state.mark(
1962
- "'" /* BranchNativeTag */,
1966
+ "'" /* BranchEndNativeTag */,
1963
1967
  scopeId + " " + accessor + " " + branchId
1964
1968
  )
1965
1969
  );
1966
1970
  } else {
1967
- shouldResume && write(state.mark("[" /* BranchStart */, branchId + ""));
1971
+ shouldResume && _html(state.mark("[" /* BranchStart */, ""));
1968
1972
  let render2 = () => {
1969
1973
  if (renderer) {
1970
1974
  if (isTemplate(renderer)) {
@@ -1980,21 +1984,26 @@ var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|p
1980
1984
  } else if (content)
1981
1985
  return content();
1982
1986
  };
1983
- result = shouldResume ? withBranchId(branchId, render2) : render2(), shouldResume && write(state.mark("]" /* BranchEnd */, scopeId + " " + accessor));
1987
+ result = shouldResume ? withBranchId(branchId, render2) : render2(), rendered = _peek_scope_id() !== branchId, shouldResume && _html(
1988
+ state.mark(
1989
+ "]" /* BranchEnd */,
1990
+ scopeId + " " + accessor + (rendered ? " " + branchId : "")
1991
+ )
1992
+ );
1984
1993
  }
1985
- return peekNextScopeId() !== branchId ? shouldResume && writeScope(scopeId, {
1994
+ return rendered ? shouldResume && writeScope(scopeId, {
1986
1995
  ["d" /* ConditionalScope */ + accessor]: writeScope(branchId, {}),
1987
1996
  ["c" /* ConditionalRenderer */ + accessor]: renderer?.h || renderer
1988
- }) : nextScopeId(), result;
1997
+ }) : _scope_id(), result;
1989
1998
  };
1990
- function createContent(id, fn) {
1999
+ function _content(id, fn) {
1991
2000
  return fn.h = id, fn;
1992
2001
  }
1993
- function registerContent(id, fn, scopeId) {
1994
- return register2(createContent(id, fn), id, scopeId);
2002
+ function _content_resume(id, fn, scopeId) {
2003
+ return _resume(_content(id, fn), id, scopeId);
1995
2004
  }
1996
2005
  function patchDynamicTag(patch) {
1997
- dynamicTag = /* @__PURE__ */ ((originalDynamicTag) => (scopeId, accessor, tag, input, content, inputIsArgs, resume) => {
2006
+ _dynamic_tag = /* @__PURE__ */ ((originalDynamicTag) => (scopeId, accessor, tag, input, content, inputIsArgs, resume) => {
1998
2007
  let patched = patch(scopeId, accessor, tag);
1999
2008
  return patched !== tag && (patched.h = tag), originalDynamicTag(
2000
2009
  scopeId,
@@ -2005,17 +2014,17 @@ function patchDynamicTag(patch) {
2005
2014
  inputIsArgs,
2006
2015
  resume
2007
2016
  );
2008
- })(dynamicTag);
2017
+ })(_dynamic_tag);
2009
2018
  }
2010
2019
 
2011
2020
  // src/html/compat.ts
2012
2021
  var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap(), compat = {
2013
2022
  $global,
2014
- fork,
2015
- write,
2023
+ fork: _await,
2024
+ write: _html,
2016
2025
  writeScript,
2017
- nextScopeId,
2018
- peekNextScopeId,
2026
+ nextScopeId: _scope_id,
2027
+ peekNextScopeId: _peek_scope_id,
2019
2028
  isInResumedBranch,
2020
2029
  ensureState($global2) {
2021
2030
  let state = $global2[K_TAGS_API_STATE] ||= getChunk()?.boundary.state;
@@ -2032,7 +2041,7 @@ var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap()
2032
2041
  },
2033
2042
  patchDynamicTag,
2034
2043
  writeSetScopeForComponent(branchId, m5c) {
2035
- writeScope(branchId, { m5c }), writeEffect(branchId, SET_SCOPE_REGISTER_ID);
2044
+ writeScope(branchId, { m5c }), _script(branchId, SET_SCOPE_REGISTER_ID);
2036
2045
  },
2037
2046
  toJSON(state) {
2038
2047
  return function() {
@@ -2071,8 +2080,8 @@ var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap()
2071
2080
  }
2072
2081
  head.render(() => {
2073
2082
  if (willRerender) {
2074
- let scopeId = peekNextScopeId();
2075
- writeScope(scopeId, { m5c: component.id }), writeEffect(scopeId, SET_SCOPE_REGISTER_ID);
2083
+ let scopeId = _peek_scope_id();
2084
+ writeScope(scopeId, { m5c: component.id }), _script(scopeId, SET_SCOPE_REGISTER_ID);
2076
2085
  }
2077
2086
  isTemplate(renderer) && willRerender ? renderer(normalizedInput, 1) : renderer(normalizedInput);
2078
2087
  let asyncOut = classAPIOut.beginAsync();
@@ -2097,62 +2106,62 @@ function NOOP3() {
2097
2106
  }
2098
2107
  export {
2099
2108
  $global,
2100
- attr,
2109
+ _attr,
2110
+ _attr_class,
2111
+ _attr_content,
2112
+ _attr_details_or_dialog_open as _attr_details_open,
2113
+ _attr_details_or_dialog_open as _attr_dialog_open,
2114
+ _attr_input_checked,
2115
+ _attr_input_checkedValue,
2116
+ _attr_input_value,
2117
+ _attr_option_value,
2118
+ _attr_select_value,
2119
+ _attr_style,
2120
+ _attr_textarea_value,
2121
+ _attrs,
2122
+ _attrs_content,
2123
+ _attrs_partial,
2124
+ _attrs_partial_content,
2125
+ _await,
2126
+ _content,
2127
+ _content_resume,
2128
+ _dynamic_tag,
2129
+ _el,
2130
+ _el_resume,
2131
+ _escape,
2132
+ _escape_script,
2133
+ _escape_style,
2134
+ _existing_scope,
2135
+ _for_in,
2136
+ _for_of,
2137
+ _for_to,
2138
+ _hoist,
2139
+ _html,
2140
+ _id,
2141
+ _if,
2142
+ _peek_scope_id,
2143
+ _resume,
2144
+ _resume_branch,
2145
+ writeScope as _scope,
2146
+ _scope_id,
2147
+ _scope_with_id,
2148
+ _script,
2149
+ _sep,
2150
+ _serialize_guard,
2151
+ _serialize_if,
2152
+ _subscribe,
2153
+ _template,
2154
+ _trailers,
2155
+ _try,
2156
+ _unescaped,
2157
+ _var,
2101
2158
  attrTag,
2102
2159
  attrTags,
2103
- attrs,
2104
- classAttr,
2105
- commentSeparator,
2106
2160
  compat,
2107
- controllable_detailsOrDialog_open,
2108
- controllable_input_checked,
2109
- controllable_input_checkedValue,
2110
- controllable_input_value,
2111
- controllable_select_value,
2112
- controllable_textarea_value,
2113
- createContent,
2114
- createTemplate,
2115
- dynamicTag,
2116
- ensureScopeWithId,
2117
- escapeScript,
2118
- escapeStyle,
2119
- escapeXML,
2120
2161
  forIn,
2121
2162
  forInBy,
2122
2163
  forOf,
2123
2164
  forOfBy,
2124
2165
  forTo,
2125
- forToBy,
2126
- fork,
2127
- getScopeById,
2128
- hoist,
2129
- markResumeNode,
2130
- nextScopeId,
2131
- nextTagId,
2132
- nodeRef,
2133
- optionValueAttr,
2134
- partialAttrs,
2135
- peekNextScopeId,
2136
- register2 as register,
2137
- registerContent,
2138
- resumeClosestBranch,
2139
- resumeConditional,
2140
- resumeForIn,
2141
- resumeForOf,
2142
- resumeForTo,
2143
- serializeGuard,
2144
- serializeIf,
2145
- setTagVar,
2146
- styleAttr,
2147
- toString,
2148
- tryContent,
2149
- write,
2150
- writeAttrsAndContent,
2151
- writeContent,
2152
- writeEffect,
2153
- writeExistingScope,
2154
- writePartialAttrsAndContent,
2155
- writeScope,
2156
- writeSubscribe,
2157
- writeTrailers
2166
+ forToBy
2158
2167
  };