marko 6.0.59 → 6.0.61
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/debug/dom.js +278 -296
- package/dist/debug/dom.mjs +278 -296
- package/dist/debug/html.js +219 -219
- package/dist/debug/html.mjs +169 -169
- package/dist/dom/abort-signal.d.ts +2 -2
- package/dist/dom/control-flow.d.ts +8 -8
- package/dist/dom/controllable.d.ts +11 -11
- package/dist/dom/dom.d.ts +17 -18
- package/dist/dom/event.d.ts +1 -1
- package/dist/dom/queue.d.ts +1 -1
- package/dist/dom/renderer.d.ts +4 -4
- package/dist/dom/resume.d.ts +3 -3
- package/dist/dom/signals.d.ts +14 -14
- package/dist/dom/template.d.ts +1 -1
- package/dist/dom.d.ts +10 -10
- package/dist/dom.js +254 -265
- package/dist/dom.mjs +254 -265
- package/dist/html/attrs.d.ts +14 -14
- package/dist/html/compat.d.ts +5 -5
- package/dist/html/content.d.ts +4 -4
- package/dist/html/dynamic-tag.d.ts +3 -3
- package/dist/html/template.d.ts +1 -1
- package/dist/html/writer.d.ts +26 -26
- package/dist/html.d.ts +5 -5
- package/dist/html.js +210 -210
- package/dist/html.mjs +160 -160
- package/dist/translator/index.js +501 -483
- package/dist/translator/util/runtime.d.ts +8 -8
- package/dist/translator/util/signals.d.ts +1 -1
- package/package.json +1 -1
package/dist/debug/html.js
CHANGED
@@ -21,85 +21,85 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
21
21
|
var html_exports = {};
|
22
22
|
__export(html_exports, {
|
23
23
|
$global: () => $global,
|
24
|
-
|
24
|
+
_attr: () => _attr,
|
25
|
+
_attr_class: () => _attr_class,
|
26
|
+
_attr_content: () => _attr_content,
|
27
|
+
_attr_details_open: () => _attr_details_or_dialog_open,
|
28
|
+
_attr_dialog_open: () => _attr_details_or_dialog_open,
|
29
|
+
_attr_input_checked: () => _attr_input_checked,
|
30
|
+
_attr_input_checkedValue: () => _attr_input_checkedValue,
|
31
|
+
_attr_input_value: () => _attr_input_value,
|
32
|
+
_attr_option_value: () => _attr_option_value,
|
33
|
+
_attr_select_value: () => _attr_select_value,
|
34
|
+
_attr_style: () => _attr_style,
|
35
|
+
_attr_textarea_value: () => _attr_textarea_value,
|
36
|
+
_attrs: () => _attrs,
|
37
|
+
_attrs_content: () => _attrs_content,
|
38
|
+
_attrs_partial: () => _attrs_partial,
|
39
|
+
_attrs_partial_content: () => _attrs_partial_content,
|
40
|
+
_await: () => _await,
|
41
|
+
_content: () => _content,
|
42
|
+
_content_resume: () => _content_resume,
|
43
|
+
_dynamic_tag: () => _dynamic_tag,
|
44
|
+
_el: () => _el,
|
45
|
+
_el_resume: () => _el_resume,
|
46
|
+
_escape: () => _escape,
|
47
|
+
_escape_script: () => _escape_script,
|
48
|
+
_escape_style: () => _escape_style,
|
49
|
+
_existing_scope: () => _existing_scope,
|
50
|
+
_for_in: () => _for_in,
|
51
|
+
_for_of: () => _for_of,
|
52
|
+
_for_to: () => _for_to,
|
53
|
+
_hoist: () => _hoist,
|
54
|
+
_html: () => _html,
|
55
|
+
_id: () => _id,
|
56
|
+
_if: () => _if,
|
57
|
+
_peek_scope_id: () => _peek_scope_id,
|
58
|
+
_resume: () => _resume,
|
59
|
+
_resume_branch: () => _resume_branch,
|
60
|
+
_scope: () => writeScope,
|
61
|
+
_scope_id: () => _scope_id,
|
62
|
+
_scope_with_id: () => _scope_with_id,
|
63
|
+
_script: () => _script,
|
64
|
+
_sep: () => _sep,
|
65
|
+
_serialize_guard: () => _serialize_guard,
|
66
|
+
_serialize_if: () => _serialize_if,
|
67
|
+
_subscribe: () => _subscribe,
|
68
|
+
_template: () => _template,
|
69
|
+
_trailers: () => _trailers,
|
70
|
+
_try: () => _try,
|
71
|
+
_unescaped: () => _unescaped,
|
72
|
+
_var: () => _var,
|
25
73
|
attrTag: () => attrTag,
|
26
74
|
attrTags: () => attrTags,
|
27
|
-
attrs: () => attrs,
|
28
|
-
classAttr: () => classAttr,
|
29
|
-
commentSeparator: () => commentSeparator,
|
30
75
|
compat: () => compat,
|
31
|
-
controllable_detailsOrDialog_open: () => controllable_detailsOrDialog_open,
|
32
|
-
controllable_input_checked: () => controllable_input_checked,
|
33
|
-
controllable_input_checkedValue: () => controllable_input_checkedValue,
|
34
|
-
controllable_input_value: () => controllable_input_value,
|
35
|
-
controllable_select_value: () => controllable_select_value,
|
36
|
-
controllable_textarea_value: () => controllable_textarea_value,
|
37
|
-
createContent: () => createContent,
|
38
|
-
createTemplate: () => createTemplate,
|
39
|
-
dynamicTag: () => dynamicTag,
|
40
|
-
ensureScopeWithId: () => ensureScopeWithId,
|
41
|
-
escapeScript: () => escapeScript,
|
42
|
-
escapeStyle: () => escapeStyle,
|
43
|
-
escapeXML: () => escapeXML,
|
44
76
|
forIn: () => forIn,
|
45
77
|
forInBy: () => forInBy,
|
46
78
|
forOf: () => forOf,
|
47
79
|
forOfBy: () => forOfBy,
|
48
80
|
forTo: () => forTo,
|
49
|
-
forToBy: () => forToBy
|
50
|
-
fork: () => fork,
|
51
|
-
getScopeById: () => getScopeById,
|
52
|
-
hoist: () => hoist,
|
53
|
-
markResumeNode: () => markResumeNode,
|
54
|
-
nextScopeId: () => nextScopeId,
|
55
|
-
nextTagId: () => nextTagId,
|
56
|
-
nodeRef: () => nodeRef,
|
57
|
-
optionValueAttr: () => optionValueAttr,
|
58
|
-
partialAttrs: () => partialAttrs,
|
59
|
-
peekNextScopeId: () => peekNextScopeId,
|
60
|
-
register: () => register2,
|
61
|
-
registerContent: () => registerContent,
|
62
|
-
resumeClosestBranch: () => resumeClosestBranch,
|
63
|
-
resumeConditional: () => resumeConditional,
|
64
|
-
resumeForIn: () => resumeForIn,
|
65
|
-
resumeForOf: () => resumeForOf,
|
66
|
-
resumeForTo: () => resumeForTo,
|
67
|
-
serializeGuard: () => serializeGuard,
|
68
|
-
serializeIf: () => serializeIf,
|
69
|
-
setTagVar: () => setTagVar,
|
70
|
-
styleAttr: () => styleAttr,
|
71
|
-
toString: () => toString,
|
72
|
-
tryContent: () => tryContent,
|
73
|
-
write: () => write,
|
74
|
-
writeAttrsAndContent: () => writeAttrsAndContent,
|
75
|
-
writeContent: () => writeContent,
|
76
|
-
writeEffect: () => writeEffect,
|
77
|
-
writeExistingScope: () => writeExistingScope,
|
78
|
-
writePartialAttrsAndContent: () => writePartialAttrsAndContent,
|
79
|
-
writeScope: () => writeScope,
|
80
|
-
writeSubscribe: () => writeSubscribe,
|
81
|
-
writeTrailers: () => writeTrailers
|
81
|
+
forToBy: () => forToBy
|
82
82
|
});
|
83
83
|
module.exports = __toCommonJS(html_exports);
|
84
84
|
|
85
85
|
// src/common/attr-tag.ts
|
86
86
|
var empty = [];
|
87
87
|
var rest = true ? Symbol("Attribute Tag") : Symbol();
|
88
|
-
function attrTag(
|
89
|
-
|
90
|
-
|
91
|
-
return
|
88
|
+
function attrTag(attrs) {
|
89
|
+
attrs[Symbol.iterator] = attrTagIterator;
|
90
|
+
attrs[rest] = empty;
|
91
|
+
return attrs;
|
92
92
|
}
|
93
|
-
function attrTags(first,
|
93
|
+
function attrTags(first, attrs) {
|
94
94
|
if (first) {
|
95
95
|
if (first[rest] === empty) {
|
96
|
-
first[rest] = [
|
96
|
+
first[rest] = [attrs];
|
97
97
|
} else {
|
98
|
-
first[rest].push(
|
98
|
+
first[rest].push(attrs);
|
99
99
|
}
|
100
100
|
return first;
|
101
101
|
}
|
102
|
-
return attrTag(
|
102
|
+
return attrTag(attrs);
|
103
103
|
}
|
104
104
|
function* attrTagIterator() {
|
105
105
|
yield this;
|
@@ -160,13 +160,13 @@ function normalizeDynamicRenderer(value) {
|
|
160
160
|
}
|
161
161
|
|
162
162
|
// src/html/content.ts
|
163
|
-
function
|
163
|
+
function _unescaped(val) {
|
164
164
|
return val ? val + "" : val === 0 ? "0" : "";
|
165
165
|
}
|
166
166
|
var unsafeXMLReg = /[<&]/g;
|
167
167
|
var replaceUnsafeXML = (c) => c === "&" ? "&" : "<";
|
168
168
|
var escapeXMLStr = (str) => unsafeXMLReg.test(str) ? str.replace(unsafeXMLReg, replaceUnsafeXML) : str;
|
169
|
-
function
|
169
|
+
function _escape(val) {
|
170
170
|
return val ? escapeXMLStr(val + "") : val === 0 ? "0" : "‍";
|
171
171
|
}
|
172
172
|
function escapeTextAreaValue(val) {
|
@@ -174,12 +174,12 @@ function escapeTextAreaValue(val) {
|
|
174
174
|
}
|
175
175
|
var unsafeScriptReg = /<\/script/g;
|
176
176
|
var escapeScriptStr = (str) => unsafeScriptReg.test(str) ? str.replace(unsafeScriptReg, "\\x3C/script") : str;
|
177
|
-
function
|
177
|
+
function _escape_script(val) {
|
178
178
|
return val ? escapeScriptStr(val + "") : val === 0 ? "0" : "";
|
179
179
|
}
|
180
180
|
var unsafeStyleReg = /<\/style/g;
|
181
181
|
var escapeStyleStr = (str) => unsafeStyleReg.test(str) ? str.replace(unsafeStyleReg, "\\3C/style") : str;
|
182
|
-
function
|
182
|
+
function _escape_style(val) {
|
183
183
|
return val ? escapeStyleStr(val + "") : val === 0 ? "0" : "";
|
184
184
|
}
|
185
185
|
|
@@ -785,7 +785,7 @@ function writeProp(state, val, parent, accessor) {
|
|
785
785
|
return false;
|
786
786
|
}
|
787
787
|
}
|
788
|
-
function writeReferenceOr(state,
|
788
|
+
function writeReferenceOr(state, write, val, parent, accessor) {
|
789
789
|
let ref = state.refs.get(val);
|
790
790
|
if (ref) {
|
791
791
|
if (ref.init) {
|
@@ -813,7 +813,7 @@ function writeReferenceOr(state, write2, val, parent, accessor) {
|
|
813
813
|
if (true) {
|
814
814
|
ref.debug = DEBUG.get(val);
|
815
815
|
}
|
816
|
-
if (
|
816
|
+
if (write(state, val, ref)) return true;
|
817
817
|
state.refs.delete(ref);
|
818
818
|
return false;
|
819
819
|
}
|
@@ -1694,20 +1694,20 @@ function getState() {
|
|
1694
1694
|
function getScopeId(scope) {
|
1695
1695
|
return scope[K_SCOPE_ID];
|
1696
1696
|
}
|
1697
|
-
function
|
1697
|
+
function _html(html) {
|
1698
1698
|
$chunk.writeHTML(html);
|
1699
1699
|
}
|
1700
1700
|
function writeScript(script) {
|
1701
1701
|
$chunk.writeScript(script);
|
1702
1702
|
}
|
1703
|
-
function
|
1703
|
+
function _script(scopeId, registryId) {
|
1704
1704
|
$chunk.boundary.state.needsMainRuntime = true;
|
1705
1705
|
$chunk.writeEffect(scopeId, registryId);
|
1706
1706
|
}
|
1707
|
-
function
|
1707
|
+
function _attr_content(nodeAccessor, scopeId, content, serializeReason) {
|
1708
1708
|
const shouldResume = serializeReason !== 0;
|
1709
1709
|
const render2 = normalizeServerRender(content);
|
1710
|
-
const branchId =
|
1710
|
+
const branchId = _peek_scope_id();
|
1711
1711
|
if (render2) {
|
1712
1712
|
if (shouldResume) {
|
1713
1713
|
withBranchId(branchId, render2);
|
@@ -1715,7 +1715,7 @@ function writeContent(nodeAccessor, scopeId, content, serializeReason) {
|
|
1715
1715
|
render2();
|
1716
1716
|
}
|
1717
1717
|
}
|
1718
|
-
const rendered =
|
1718
|
+
const rendered = _peek_scope_id() !== branchId;
|
1719
1719
|
if (rendered) {
|
1720
1720
|
if (shouldResume) {
|
1721
1721
|
writeScope(scopeId, {
|
@@ -1727,7 +1727,7 @@ function writeContent(nodeAccessor, scopeId, content, serializeReason) {
|
|
1727
1727
|
});
|
1728
1728
|
}
|
1729
1729
|
} else {
|
1730
|
-
|
1730
|
+
_scope_id();
|
1731
1731
|
}
|
1732
1732
|
}
|
1733
1733
|
function normalizeServerRender(value) {
|
@@ -1755,26 +1755,26 @@ function withContext(key, value, cb) {
|
|
1755
1755
|
ctx[key] = prev;
|
1756
1756
|
}
|
1757
1757
|
}
|
1758
|
-
function
|
1759
|
-
|
1760
|
-
|
1758
|
+
function _var(parentScopeId, scopeOffsetAccessor, childScopeId, registryId) {
|
1759
|
+
_scope_with_id(parentScopeId)[scopeOffsetAccessor] = _scope_id();
|
1760
|
+
_scope_with_id(childScopeId)["#TagVariable" /* TagVariable */] = _resume(
|
1761
1761
|
{},
|
1762
1762
|
registryId,
|
1763
1763
|
parentScopeId
|
1764
1764
|
);
|
1765
1765
|
}
|
1766
|
-
function
|
1767
|
-
return scopeId === void 0 ? register(id, val) : register(id, val,
|
1766
|
+
function _resume(val, id, scopeId) {
|
1767
|
+
return scopeId === void 0 ? register(id, val) : register(id, val, _scope_with_id(scopeId));
|
1768
1768
|
}
|
1769
|
-
function
|
1769
|
+
function _id() {
|
1770
1770
|
const state = $chunk.boundary.state;
|
1771
1771
|
const { $global: $global2 } = state;
|
1772
1772
|
return "s" + $global2.runtimeId + $global2.renderId + (state.tagId++).toString(36);
|
1773
1773
|
}
|
1774
|
-
function
|
1774
|
+
function _scope_id() {
|
1775
1775
|
return $chunk.boundary.state.scopeId++;
|
1776
1776
|
}
|
1777
|
-
function
|
1777
|
+
function _peek_scope_id() {
|
1778
1778
|
return $chunk.boundary.state.scopeId;
|
1779
1779
|
}
|
1780
1780
|
function getScopeById(scopeId) {
|
@@ -1782,39 +1782,39 @@ function getScopeById(scopeId) {
|
|
1782
1782
|
return $chunk.boundary.state.scopes.get(scopeId);
|
1783
1783
|
}
|
1784
1784
|
}
|
1785
|
-
function
|
1785
|
+
function _serialize_if(condition, key) {
|
1786
1786
|
return condition && (condition === 1 || condition[key]) ? 1 : void 0;
|
1787
1787
|
}
|
1788
|
-
function
|
1788
|
+
function _serialize_guard(condition, key) {
|
1789
1789
|
return condition && (condition === 1 || condition[key]) ? 1 : 0;
|
1790
1790
|
}
|
1791
|
-
function
|
1791
|
+
function _el_resume(scopeId, accessor, shouldResume) {
|
1792
1792
|
if (shouldResume === 0) return "";
|
1793
1793
|
const { state } = $chunk.boundary;
|
1794
1794
|
state.needsMainRuntime = true;
|
1795
1795
|
return state.mark("*" /* Node */, scopeId + " " + accessor);
|
1796
1796
|
}
|
1797
|
-
function
|
1797
|
+
function _sep(shouldResume) {
|
1798
1798
|
return shouldResume === 0 ? "" : "<!>";
|
1799
1799
|
}
|
1800
|
-
function
|
1800
|
+
function _el(scopeId, id) {
|
1801
1801
|
const getter = () => {
|
1802
1802
|
if (true) {
|
1803
1803
|
throw new Error("Cannot read a node reference on the server.");
|
1804
1804
|
}
|
1805
1805
|
};
|
1806
|
-
return id ?
|
1806
|
+
return id ? _resume(getter, id, scopeId) : getter;
|
1807
1807
|
}
|
1808
|
-
function
|
1808
|
+
function _hoist(scopeId, id) {
|
1809
1809
|
const getter = () => {
|
1810
1810
|
if (true) {
|
1811
1811
|
throw new Error("Cannot read a hoisted value on the server.");
|
1812
1812
|
}
|
1813
1813
|
};
|
1814
1814
|
getter[Symbol.iterator] = getter;
|
1815
|
-
return id ?
|
1815
|
+
return id ? _resume(getter, id, scopeId) : getter;
|
1816
1816
|
}
|
1817
|
-
function
|
1817
|
+
function _resume_branch(scopeId) {
|
1818
1818
|
const branchId = $chunk.context?.[branchIdKey];
|
1819
1819
|
if (branchId !== void 0 && branchId !== scopeId) {
|
1820
1820
|
writeScope(scopeId, { ["#ClosestBranchId" /* ClosestBranchId */]: branchId });
|
@@ -1827,7 +1827,7 @@ function isInResumedBranch() {
|
|
1827
1827
|
function withBranchId(branchId, cb) {
|
1828
1828
|
return withContext(branchIdKey, branchId, cb);
|
1829
1829
|
}
|
1830
|
-
function
|
1830
|
+
function _for_of(list, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
|
1831
1831
|
const { state } = $chunk.boundary;
|
1832
1832
|
const resumeBranch = serializeBranch !== 0;
|
1833
1833
|
const resumeMarker = serializeMarker !== 0;
|
@@ -1835,7 +1835,7 @@ function resumeForOf(list, cb, by, scopeId, accessor, serializeBranch, serialize
|
|
1835
1835
|
if (resumeBranch) {
|
1836
1836
|
const loopScopes = /* @__PURE__ */ new Map();
|
1837
1837
|
forOf(list, (item, index) => {
|
1838
|
-
const branchId =
|
1838
|
+
const branchId = _peek_scope_id();
|
1839
1839
|
if (resumeMarker) {
|
1840
1840
|
if (singleNode) {
|
1841
1841
|
singleNodeBranchIds = " " + branchId + singleNodeBranchIds;
|
@@ -1869,7 +1869,7 @@ function resumeForOf(list, cb, by, scopeId, accessor, serializeBranch, serialize
|
|
1869
1869
|
) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
|
1870
1870
|
);
|
1871
1871
|
}
|
1872
|
-
function
|
1872
|
+
function _for_in(obj, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
|
1873
1873
|
const { state } = $chunk.boundary;
|
1874
1874
|
const resumeBranch = serializeBranch !== 0;
|
1875
1875
|
const resumeMarker = serializeMarker !== 0;
|
@@ -1878,7 +1878,7 @@ function resumeForIn(obj, cb, by, scopeId, accessor, serializeBranch, serializeM
|
|
1878
1878
|
const loopScopes = /* @__PURE__ */ new Map();
|
1879
1879
|
let sep = "";
|
1880
1880
|
forIn(obj, (key, value) => {
|
1881
|
-
const branchId =
|
1881
|
+
const branchId = _peek_scope_id();
|
1882
1882
|
if (resumeMarker) {
|
1883
1883
|
if (singleNode) {
|
1884
1884
|
singleNodeBranchIds = " " + branchId + singleNodeBranchIds;
|
@@ -1913,7 +1913,7 @@ function resumeForIn(obj, cb, by, scopeId, accessor, serializeBranch, serializeM
|
|
1913
1913
|
) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
|
1914
1914
|
);
|
1915
1915
|
}
|
1916
|
-
function
|
1916
|
+
function _for_to(to, from, step, cb, by, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
|
1917
1917
|
const { state } = $chunk.boundary;
|
1918
1918
|
const resumeBranch = serializeBranch !== 0;
|
1919
1919
|
const resumeMarker = serializeMarker !== 0;
|
@@ -1922,7 +1922,7 @@ function resumeForTo(to, from, step, cb, by, scopeId, accessor, serializeBranch,
|
|
1922
1922
|
const loopScopes = /* @__PURE__ */ new Map();
|
1923
1923
|
let sep = "";
|
1924
1924
|
forTo(to, from, step, (i) => {
|
1925
|
-
const branchId =
|
1925
|
+
const branchId = _peek_scope_id();
|
1926
1926
|
if (resumeMarker) {
|
1927
1927
|
if (singleNode) {
|
1928
1928
|
singleNodeBranchIds = " " + branchId + singleNodeBranchIds;
|
@@ -1957,11 +1957,11 @@ function resumeForTo(to, from, step, cb, by, scopeId, accessor, serializeBranch,
|
|
1957
1957
|
) : state.mark("]" /* BranchEnd */, scopeId + " " + accessor))
|
1958
1958
|
);
|
1959
1959
|
}
|
1960
|
-
function
|
1960
|
+
function _if(cb, scopeId, accessor, serializeBranch, serializeMarker, parentEndTag, singleNode) {
|
1961
1961
|
const { state } = $chunk.boundary;
|
1962
1962
|
const resumeBranch = serializeBranch !== 0;
|
1963
1963
|
const resumeMarker = serializeMarker !== 0;
|
1964
|
-
const branchId =
|
1964
|
+
const branchId = _peek_scope_id();
|
1965
1965
|
if (resumeMarker && resumeBranch && !singleNode) {
|
1966
1966
|
$chunk.writeHTML(state.mark("[" /* BranchStart */, branchId + ""));
|
1967
1967
|
}
|
@@ -1990,7 +1990,7 @@ function writeBranchEnd(scopeId, accessor, resumeMarker, parentEndTag, mark) {
|
|
1990
1990
|
if (mark) {
|
1991
1991
|
$chunk.writeHTML(mark + endTag);
|
1992
1992
|
} else {
|
1993
|
-
$chunk.writeHTML(endTag +
|
1993
|
+
$chunk.writeHTML(endTag + _el_resume(scopeId, accessor));
|
1994
1994
|
}
|
1995
1995
|
} else {
|
1996
1996
|
$chunk.writeHTML(endTag);
|
@@ -2026,10 +2026,10 @@ if (true) {
|
|
2026
2026
|
return scope;
|
2027
2027
|
})(writeScope);
|
2028
2028
|
}
|
2029
|
-
function
|
2030
|
-
return writeScope(scopeId,
|
2029
|
+
function _existing_scope(scopeId) {
|
2030
|
+
return writeScope(scopeId, _scope_with_id(scopeId));
|
2031
2031
|
}
|
2032
|
-
function
|
2032
|
+
function _scope_with_id(scopeId) {
|
2033
2033
|
const { state } = $chunk.boundary;
|
2034
2034
|
let scope = state.scopes.get(scopeId);
|
2035
2035
|
if (!scope) {
|
@@ -2041,11 +2041,11 @@ function ensureScopeWithId(scopeId) {
|
|
2041
2041
|
function $global() {
|
2042
2042
|
return $chunk.boundary.state.$global;
|
2043
2043
|
}
|
2044
|
-
function
|
2044
|
+
function _await(scopeId, accessor, promise, content, serializeMarker) {
|
2045
2045
|
const resumeMarker = serializeMarker !== 0;
|
2046
2046
|
if (!isPromise(promise)) {
|
2047
2047
|
if (resumeMarker) {
|
2048
|
-
const branchId =
|
2048
|
+
const branchId = _peek_scope_id();
|
2049
2049
|
$chunk.writeHTML(
|
2050
2050
|
$chunk.boundary.state.mark("[" /* BranchStart */, branchId + "")
|
2051
2051
|
);
|
@@ -2079,7 +2079,7 @@ function fork(scopeId, accessor, promise, content, serializeMarker) {
|
|
2079
2079
|
if (!boundary.signal.aborted) {
|
2080
2080
|
chunk.render(() => {
|
2081
2081
|
if (resumeMarker) {
|
2082
|
-
const branchId =
|
2082
|
+
const branchId = _peek_scope_id();
|
2083
2083
|
$chunk.writeHTML(
|
2084
2084
|
$chunk.boundary.state.mark(
|
2085
2085
|
"[" /* BranchStart */,
|
@@ -2089,7 +2089,7 @@ function fork(scopeId, accessor, promise, content, serializeMarker) {
|
|
2089
2089
|
content(value);
|
2090
2090
|
boundary.state.serializer.writeAssign(
|
2091
2091
|
writeScope(branchId, {}),
|
2092
|
-
|
2092
|
+
_scope_with_id(scopeId),
|
2093
2093
|
"ConditionalScope:" /* ConditionalScope */ + accessor
|
2094
2094
|
);
|
2095
2095
|
$chunk.writeHTML(
|
@@ -2112,8 +2112,8 @@ function fork(scopeId, accessor, promise, content, serializeMarker) {
|
|
2112
2112
|
}
|
2113
2113
|
);
|
2114
2114
|
}
|
2115
|
-
function
|
2116
|
-
const branchId =
|
2115
|
+
function _try(scopeId, accessor, content, input) {
|
2116
|
+
const branchId = _peek_scope_id();
|
2117
2117
|
$chunk.writeHTML(
|
2118
2118
|
$chunk.boundary.state.mark("[" /* BranchStart */, branchId + "")
|
2119
2119
|
);
|
@@ -2556,7 +2556,7 @@ function flushSerializer(boundary) {
|
|
2556
2556
|
}
|
2557
2557
|
}
|
2558
2558
|
}
|
2559
|
-
function
|
2559
|
+
function _trailers(html) {
|
2560
2560
|
$chunk.boundary.state.trailerHTML += html;
|
2561
2561
|
}
|
2562
2562
|
function concatEffects(a, b) {
|
@@ -2620,24 +2620,24 @@ function getFilteredGlobals($global2) {
|
|
2620
2620
|
}
|
2621
2621
|
return filtered;
|
2622
2622
|
}
|
2623
|
-
function
|
2623
|
+
function _subscribe(subscribers, scope) {
|
2624
2624
|
$chunk.boundary.state.serializer.writeCall(scope, subscribers, "add");
|
2625
2625
|
return scope;
|
2626
2626
|
}
|
2627
2627
|
|
2628
2628
|
// src/html/attrs.ts
|
2629
|
-
function
|
2629
|
+
function _attr_class(value) {
|
2630
2630
|
return stringAttr("class", classValue(value));
|
2631
2631
|
}
|
2632
|
-
function
|
2632
|
+
function _attr_style(value) {
|
2633
2633
|
return stringAttr("style", styleValue(value));
|
2634
2634
|
}
|
2635
|
-
function
|
2635
|
+
function _attr_option_value(value) {
|
2636
2636
|
const selectedValue = getContext(kSelectedValue);
|
2637
|
-
return
|
2637
|
+
return _attr("value", value) + (!isVoid(value) && (Array.isArray(selectedValue) ? selectedValue.includes(value) : selectedValue === value) ? " selected" : "");
|
2638
2638
|
}
|
2639
2639
|
var kSelectedValue = Symbol("selectedValue");
|
2640
|
-
function
|
2640
|
+
function _attr_select_value(scopeId, nodeAccessor, value, valueChange, content) {
|
2641
2641
|
if (valueChange) {
|
2642
2642
|
writeControlledScope(
|
2643
2643
|
3 /* SelectValue */,
|
@@ -2651,7 +2651,7 @@ function controllable_select_value(scopeId, nodeAccessor, value, valueChange, co
|
|
2651
2651
|
withContext(kSelectedValue, value, content);
|
2652
2652
|
}
|
2653
2653
|
}
|
2654
|
-
function
|
2654
|
+
function _attr_textarea_value(scopeId, nodeAccessor, value, valueChange) {
|
2655
2655
|
if (valueChange) {
|
2656
2656
|
writeControlledScope(
|
2657
2657
|
2 /* InputValue */,
|
@@ -2663,7 +2663,7 @@ function controllable_textarea_value(scopeId, nodeAccessor, value, valueChange)
|
|
2663
2663
|
}
|
2664
2664
|
return escapeTextAreaValue(value);
|
2665
2665
|
}
|
2666
|
-
function
|
2666
|
+
function _attr_input_value(scopeId, nodeAccessor, value, valueChange) {
|
2667
2667
|
if (valueChange) {
|
2668
2668
|
writeControlledScope(
|
2669
2669
|
2 /* InputValue */,
|
@@ -2673,9 +2673,9 @@ function controllable_input_value(scopeId, nodeAccessor, value, valueChange) {
|
|
2673
2673
|
valueChange
|
2674
2674
|
);
|
2675
2675
|
}
|
2676
|
-
return
|
2676
|
+
return _attr("value", value);
|
2677
2677
|
}
|
2678
|
-
function
|
2678
|
+
function _attr_input_checked(scopeId, nodeAccessor, checked, checkedChange) {
|
2679
2679
|
if (checkedChange) {
|
2680
2680
|
writeControlledScope(
|
2681
2681
|
0 /* InputChecked */,
|
@@ -2685,11 +2685,11 @@ function controllable_input_checked(scopeId, nodeAccessor, checked, checkedChang
|
|
2685
2685
|
checkedChange
|
2686
2686
|
);
|
2687
2687
|
}
|
2688
|
-
return
|
2688
|
+
return _attr("checked", checked);
|
2689
2689
|
}
|
2690
|
-
function
|
2690
|
+
function _attr_input_checkedValue(scopeId, nodeAccessor, checkedValue, checkedValueChange, value) {
|
2691
2691
|
const multiple = Array.isArray(checkedValue);
|
2692
|
-
const valueAttr =
|
2692
|
+
const valueAttr = _attr("value", value);
|
2693
2693
|
if (checkedValueChange) {
|
2694
2694
|
writeControlledScope(
|
2695
2695
|
1 /* InputCheckedValue */,
|
@@ -2701,7 +2701,7 @@ function controllable_input_checkedValue(scopeId, nodeAccessor, checkedValue, ch
|
|
2701
2701
|
}
|
2702
2702
|
return (multiple ? checkedValue.includes(value) : checkedValue === value) ? valueAttr + " checked" : valueAttr;
|
2703
2703
|
}
|
2704
|
-
function
|
2704
|
+
function _attr_details_or_dialog_open(scopeId, nodeAccessor, open, openChange) {
|
2705
2705
|
if (openChange) {
|
2706
2706
|
writeControlledScope(
|
2707
2707
|
4 /* DetailsOrDialogOpen */,
|
@@ -2711,26 +2711,26 @@ function controllable_detailsOrDialog_open(scopeId, nodeAccessor, open, openChan
|
|
2711
2711
|
openChange
|
2712
2712
|
);
|
2713
2713
|
}
|
2714
|
-
return
|
2714
|
+
return _attr("open", open);
|
2715
2715
|
}
|
2716
|
-
function
|
2716
|
+
function _attr(name, value) {
|
2717
2717
|
return isVoid(value) ? "" : nonVoidAttr(name, value);
|
2718
2718
|
}
|
2719
|
-
function
|
2719
|
+
function _attrs(data, nodeAccessor, scopeId, tagName) {
|
2720
2720
|
let result = "";
|
2721
2721
|
let skip = /[\s/>"'=]/;
|
2722
2722
|
let events;
|
2723
2723
|
switch (tagName) {
|
2724
2724
|
case "input":
|
2725
2725
|
if (data.checkedChange) {
|
2726
|
-
result +=
|
2726
|
+
result += _attr_input_checked(
|
2727
2727
|
scopeId,
|
2728
2728
|
nodeAccessor,
|
2729
2729
|
data.checked,
|
2730
2730
|
data.checkedChange
|
2731
2731
|
);
|
2732
2732
|
} else if (data.checkedValue || data.checkedValueChange) {
|
2733
|
-
result +=
|
2733
|
+
result += _attr_input_checkedValue(
|
2734
2734
|
scopeId,
|
2735
2735
|
nodeAccessor,
|
2736
2736
|
data.checkedValue,
|
@@ -2738,7 +2738,7 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
|
|
2738
2738
|
data.value
|
2739
2739
|
);
|
2740
2740
|
} else if (data.valueChange) {
|
2741
|
-
result +=
|
2741
|
+
result += _attr_input_value(
|
2742
2742
|
scopeId,
|
2743
2743
|
nodeAccessor,
|
2744
2744
|
data.value,
|
@@ -2757,14 +2757,14 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
|
|
2757
2757
|
break;
|
2758
2758
|
case "option":
|
2759
2759
|
if (data.value) {
|
2760
|
-
result +=
|
2760
|
+
result += _attr_option_value(data.value);
|
2761
2761
|
skip = /^value$|[\s/>"'=]/;
|
2762
2762
|
}
|
2763
2763
|
break;
|
2764
2764
|
case "details":
|
2765
2765
|
case "dialog":
|
2766
2766
|
if (data.openChange) {
|
2767
|
-
result +=
|
2767
|
+
result += _attr_details_or_dialog_open(
|
2768
2768
|
scopeId,
|
2769
2769
|
nodeAccessor,
|
2770
2770
|
data.open,
|
@@ -2778,10 +2778,10 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
|
|
2778
2778
|
const value = data[name];
|
2779
2779
|
switch (name) {
|
2780
2780
|
case "class":
|
2781
|
-
result +=
|
2781
|
+
result += _attr_class(value);
|
2782
2782
|
break;
|
2783
2783
|
case "style":
|
2784
|
-
result +=
|
2784
|
+
result += _attr_style(value);
|
2785
2785
|
break;
|
2786
2786
|
default:
|
2787
2787
|
if (name && !(isVoid(value) || skip.test(name) || name === "content" && tagName !== "meta")) {
|
@@ -2802,20 +2802,20 @@ function attrs(data, nodeAccessor, scopeId, tagName) {
|
|
2802
2802
|
}
|
2803
2803
|
return result;
|
2804
2804
|
}
|
2805
|
-
function
|
2806
|
-
|
2807
|
-
|
2805
|
+
function _attrs_content(data, nodeAccessor, scopeId, tagName, serializeReason) {
|
2806
|
+
_html(`${_attrs(data, nodeAccessor, scopeId, tagName)}>`);
|
2807
|
+
_attr_content(nodeAccessor, scopeId, data?.content, serializeReason);
|
2808
2808
|
}
|
2809
|
-
function
|
2809
|
+
function _attrs_partial(data, skip, nodeAccessor, scopeId, tagName) {
|
2810
2810
|
const partial = {};
|
2811
2811
|
for (const key in data) {
|
2812
2812
|
if (!skip[key]) partial[key] = data[key];
|
2813
2813
|
}
|
2814
|
-
return
|
2814
|
+
return _attrs(partial, nodeAccessor, scopeId, tagName);
|
2815
2815
|
}
|
2816
|
-
function
|
2817
|
-
|
2818
|
-
|
2816
|
+
function _attrs_partial_content(data, skip, nodeAccessor, scopeId, tagName, serializeReason) {
|
2817
|
+
_html(`${_attrs_partial(data, skip, nodeAccessor, scopeId, tagName)}>`);
|
2818
|
+
_attr_content(nodeAccessor, scopeId, data?.content, serializeReason);
|
2819
2819
|
}
|
2820
2820
|
function writeControlledScope(type, scopeId, nodeAccessor, value, valueChange) {
|
2821
2821
|
writeScope(scopeId, {
|
@@ -2879,7 +2879,7 @@ var DEFAULT_RUNTIME_ID = "M";
|
|
2879
2879
|
var DEFAULT_RENDER_ID = "_";
|
2880
2880
|
|
2881
2881
|
// src/html/template.ts
|
2882
|
-
var
|
2882
|
+
var _template = (templateId, renderer) => {
|
2883
2883
|
renderer.render = render;
|
2884
2884
|
renderer._ = renderer;
|
2885
2885
|
if (true) {
|
@@ -2889,7 +2889,7 @@ var createTemplate = (templateId, renderer) => {
|
|
2889
2889
|
);
|
2890
2890
|
};
|
2891
2891
|
}
|
2892
|
-
return
|
2892
|
+
return _content_resume(templateId, renderer);
|
2893
2893
|
};
|
2894
2894
|
function isTemplate(renderer) {
|
2895
2895
|
return !!renderer._;
|
@@ -3077,14 +3077,14 @@ var ServerRendered = class {
|
|
3077
3077
|
return;
|
3078
3078
|
}
|
3079
3079
|
const { boundary } = head;
|
3080
|
-
const onNext = boundary.onNext = (
|
3080
|
+
const onNext = boundary.onNext = (write) => {
|
3081
3081
|
if (boundary.signal.aborted) {
|
3082
3082
|
if (!tick2) offTick(onNext);
|
3083
3083
|
boundary.onNext = NOOP2;
|
3084
3084
|
onAbort(boundary.signal.reason);
|
3085
3085
|
} else {
|
3086
3086
|
const { done } = boundary;
|
3087
|
-
if (done ||
|
3087
|
+
if (done || write) {
|
3088
3088
|
const html = (head = head.consume()).flushHTML();
|
3089
3089
|
if (html) onWrite(html);
|
3090
3090
|
if (done) {
|
@@ -3119,7 +3119,7 @@ function NOOP2() {
|
|
3119
3119
|
|
3120
3120
|
// src/html/dynamic-tag.ts
|
3121
3121
|
var voidElementsReg = /^(?:area|b(?:ase|r)|col|embed|hr|i(?:mg|nput)|link|meta|param|source|track|wbr)$/;
|
3122
|
-
var
|
3122
|
+
var _dynamic_tag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, serializeReason) => {
|
3123
3123
|
const shouldResume = serializeReason !== 0;
|
3124
3124
|
const renderer = normalizeDynamicRenderer(tag);
|
3125
3125
|
if (true) {
|
@@ -3128,13 +3128,13 @@ var dynamicTag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, ser
|
|
3128
3128
|
}
|
3129
3129
|
}
|
3130
3130
|
const state = getState();
|
3131
|
-
const branchId =
|
3131
|
+
const branchId = _peek_scope_id();
|
3132
3132
|
let result;
|
3133
3133
|
if (typeof renderer === "string") {
|
3134
3134
|
const input = (inputIsArgs ? inputOrArgs[0] : inputOrArgs) || {};
|
3135
|
-
|
3136
|
-
|
3137
|
-
`<${renderer}${
|
3135
|
+
_scope_id();
|
3136
|
+
_html(
|
3137
|
+
`<${renderer}${_attrs(input, true ? `#${renderer}/0` : 0, branchId, renderer)}>`
|
3138
3138
|
);
|
3139
3139
|
if (!voidElementsReg.test(renderer)) {
|
3140
3140
|
const renderContent = content || normalizeDynamicRenderer(input.content);
|
@@ -3144,8 +3144,8 @@ var dynamicTag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, ser
|
|
3144
3144
|
"A dynamic tag rendering a `<textarea>` cannot have `content` and must use the `value` attribute instead."
|
3145
3145
|
);
|
3146
3146
|
}
|
3147
|
-
|
3148
|
-
|
3147
|
+
_html(
|
3148
|
+
_attr_textarea_value(
|
3149
3149
|
branchId,
|
3150
3150
|
true ? `#${renderer}/0` : 0,
|
3151
3151
|
input.value,
|
@@ -3159,7 +3159,7 @@ var dynamicTag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, ser
|
|
3159
3159
|
);
|
3160
3160
|
}
|
3161
3161
|
if (renderer === "select" && ("value" in input || "valueChange" in input)) {
|
3162
|
-
|
3162
|
+
_attr_select_value(
|
3163
3163
|
branchId,
|
3164
3164
|
true ? `#${renderer}/0` : 0,
|
3165
3165
|
input.value,
|
@@ -3167,7 +3167,7 @@ var dynamicTag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, ser
|
|
3167
3167
|
renderContent
|
3168
3168
|
);
|
3169
3169
|
} else {
|
3170
|
-
|
3170
|
+
_dynamic_tag(
|
3171
3171
|
branchId,
|
3172
3172
|
true ? `#${renderer}/0` : 0,
|
3173
3173
|
renderContent,
|
@@ -3178,14 +3178,14 @@ var dynamicTag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, ser
|
|
3178
3178
|
);
|
3179
3179
|
}
|
3180
3180
|
}
|
3181
|
-
|
3181
|
+
_html(`</${renderer}>`);
|
3182
3182
|
} else if (content) {
|
3183
3183
|
throw new Error(
|
3184
3184
|
`Body content is not supported for the \`<${renderer}>\` tag.`
|
3185
3185
|
);
|
3186
3186
|
}
|
3187
3187
|
if (shouldResume) {
|
3188
|
-
|
3188
|
+
_html(
|
3189
3189
|
state.mark(
|
3190
3190
|
"'" /* BranchNativeTag */,
|
3191
3191
|
scopeId + " " + accessor + " " + branchId
|
@@ -3194,7 +3194,7 @@ var dynamicTag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, ser
|
|
3194
3194
|
}
|
3195
3195
|
} else {
|
3196
3196
|
if (shouldResume) {
|
3197
|
-
|
3197
|
+
_html(state.mark("[" /* BranchStart */, branchId + ""));
|
3198
3198
|
}
|
3199
3199
|
const render2 = () => {
|
3200
3200
|
if (renderer) {
|
@@ -3214,10 +3214,10 @@ var dynamicTag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, ser
|
|
3214
3214
|
};
|
3215
3215
|
result = shouldResume ? withBranchId(branchId, render2) : render2();
|
3216
3216
|
if (shouldResume) {
|
3217
|
-
|
3217
|
+
_html(state.mark("]" /* BranchEnd */, scopeId + " " + accessor));
|
3218
3218
|
}
|
3219
3219
|
}
|
3220
|
-
const rendered =
|
3220
|
+
const rendered = _peek_scope_id() !== branchId;
|
3221
3221
|
if (rendered) {
|
3222
3222
|
if (shouldResume) {
|
3223
3223
|
writeScope(scopeId, {
|
@@ -3226,19 +3226,19 @@ var dynamicTag = (scopeId, accessor, tag, inputOrArgs, content, inputIsArgs, ser
|
|
3226
3226
|
});
|
3227
3227
|
}
|
3228
3228
|
} else {
|
3229
|
-
|
3229
|
+
_scope_id();
|
3230
3230
|
}
|
3231
3231
|
return result;
|
3232
3232
|
};
|
3233
|
-
function
|
3233
|
+
function _content(id, fn) {
|
3234
3234
|
fn.___id = id;
|
3235
3235
|
return fn;
|
3236
3236
|
}
|
3237
|
-
function
|
3238
|
-
return
|
3237
|
+
function _content_resume(id, fn, scopeId) {
|
3238
|
+
return _resume(_content(id, fn), id, scopeId);
|
3239
3239
|
}
|
3240
3240
|
function patchDynamicTag(patch) {
|
3241
|
-
|
3241
|
+
_dynamic_tag = /* @__PURE__ */ ((originalDynamicTag) => (scopeId, accessor, tag, input, content, inputIsArgs, resume) => {
|
3242
3242
|
const patched = patch(scopeId, accessor, tag);
|
3243
3243
|
if (patched !== tag) patched.___id = tag;
|
3244
3244
|
return originalDynamicTag(
|
@@ -3250,7 +3250,7 @@ function patchDynamicTag(patch) {
|
|
3250
3250
|
inputIsArgs,
|
3251
3251
|
resume
|
3252
3252
|
);
|
3253
|
-
})(
|
3253
|
+
})(_dynamic_tag);
|
3254
3254
|
}
|
3255
3255
|
|
3256
3256
|
// src/html/compat.ts
|
@@ -3258,11 +3258,11 @@ var K_TAGS_API_STATE = Symbol();
|
|
3258
3258
|
var COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap();
|
3259
3259
|
var compat = {
|
3260
3260
|
$global,
|
3261
|
-
fork,
|
3262
|
-
write,
|
3261
|
+
fork: _await,
|
3262
|
+
write: _html,
|
3263
3263
|
writeScript,
|
3264
|
-
nextScopeId,
|
3265
|
-
peekNextScopeId,
|
3264
|
+
nextScopeId: _scope_id,
|
3265
|
+
peekNextScopeId: _peek_scope_id,
|
3266
3266
|
isInResumedBranch,
|
3267
3267
|
ensureState($global2) {
|
3268
3268
|
let state = $global2[K_TAGS_API_STATE] ||= getChunk()?.boundary.state;
|
@@ -3286,7 +3286,7 @@ var compat = {
|
|
3286
3286
|
patchDynamicTag,
|
3287
3287
|
writeSetScopeForComponent(branchId, m5c) {
|
3288
3288
|
writeScope(branchId, { m5c });
|
3289
|
-
|
3289
|
+
_script(branchId, SET_SCOPE_REGISTER_ID);
|
3290
3290
|
},
|
3291
3291
|
toJSON(state) {
|
3292
3292
|
return function toJSON() {
|
@@ -3332,9 +3332,9 @@ var compat = {
|
|
3332
3332
|
}
|
3333
3333
|
head.render(() => {
|
3334
3334
|
if (willRerender) {
|
3335
|
-
const scopeId =
|
3335
|
+
const scopeId = _peek_scope_id();
|
3336
3336
|
writeScope(scopeId, { m5c: component.id });
|
3337
|
-
|
3337
|
+
_script(scopeId, SET_SCOPE_REGISTER_ID);
|
3338
3338
|
}
|
3339
3339
|
if (isTemplate(renderer) && willRerender) {
|
3340
3340
|
renderer(normalizedInput, 1);
|
@@ -3373,62 +3373,62 @@ function NOOP3() {
|
|
3373
3373
|
// Annotate the CommonJS export names for ESM import in node:
|
3374
3374
|
0 && (module.exports = {
|
3375
3375
|
$global,
|
3376
|
-
|
3376
|
+
_attr,
|
3377
|
+
_attr_class,
|
3378
|
+
_attr_content,
|
3379
|
+
_attr_details_open,
|
3380
|
+
_attr_dialog_open,
|
3381
|
+
_attr_input_checked,
|
3382
|
+
_attr_input_checkedValue,
|
3383
|
+
_attr_input_value,
|
3384
|
+
_attr_option_value,
|
3385
|
+
_attr_select_value,
|
3386
|
+
_attr_style,
|
3387
|
+
_attr_textarea_value,
|
3388
|
+
_attrs,
|
3389
|
+
_attrs_content,
|
3390
|
+
_attrs_partial,
|
3391
|
+
_attrs_partial_content,
|
3392
|
+
_await,
|
3393
|
+
_content,
|
3394
|
+
_content_resume,
|
3395
|
+
_dynamic_tag,
|
3396
|
+
_el,
|
3397
|
+
_el_resume,
|
3398
|
+
_escape,
|
3399
|
+
_escape_script,
|
3400
|
+
_escape_style,
|
3401
|
+
_existing_scope,
|
3402
|
+
_for_in,
|
3403
|
+
_for_of,
|
3404
|
+
_for_to,
|
3405
|
+
_hoist,
|
3406
|
+
_html,
|
3407
|
+
_id,
|
3408
|
+
_if,
|
3409
|
+
_peek_scope_id,
|
3410
|
+
_resume,
|
3411
|
+
_resume_branch,
|
3412
|
+
_scope,
|
3413
|
+
_scope_id,
|
3414
|
+
_scope_with_id,
|
3415
|
+
_script,
|
3416
|
+
_sep,
|
3417
|
+
_serialize_guard,
|
3418
|
+
_serialize_if,
|
3419
|
+
_subscribe,
|
3420
|
+
_template,
|
3421
|
+
_trailers,
|
3422
|
+
_try,
|
3423
|
+
_unescaped,
|
3424
|
+
_var,
|
3377
3425
|
attrTag,
|
3378
3426
|
attrTags,
|
3379
|
-
attrs,
|
3380
|
-
classAttr,
|
3381
|
-
commentSeparator,
|
3382
3427
|
compat,
|
3383
|
-
controllable_detailsOrDialog_open,
|
3384
|
-
controllable_input_checked,
|
3385
|
-
controllable_input_checkedValue,
|
3386
|
-
controllable_input_value,
|
3387
|
-
controllable_select_value,
|
3388
|
-
controllable_textarea_value,
|
3389
|
-
createContent,
|
3390
|
-
createTemplate,
|
3391
|
-
dynamicTag,
|
3392
|
-
ensureScopeWithId,
|
3393
|
-
escapeScript,
|
3394
|
-
escapeStyle,
|
3395
|
-
escapeXML,
|
3396
3428
|
forIn,
|
3397
3429
|
forInBy,
|
3398
3430
|
forOf,
|
3399
3431
|
forOfBy,
|
3400
3432
|
forTo,
|
3401
|
-
forToBy
|
3402
|
-
fork,
|
3403
|
-
getScopeById,
|
3404
|
-
hoist,
|
3405
|
-
markResumeNode,
|
3406
|
-
nextScopeId,
|
3407
|
-
nextTagId,
|
3408
|
-
nodeRef,
|
3409
|
-
optionValueAttr,
|
3410
|
-
partialAttrs,
|
3411
|
-
peekNextScopeId,
|
3412
|
-
register,
|
3413
|
-
registerContent,
|
3414
|
-
resumeClosestBranch,
|
3415
|
-
resumeConditional,
|
3416
|
-
resumeForIn,
|
3417
|
-
resumeForOf,
|
3418
|
-
resumeForTo,
|
3419
|
-
serializeGuard,
|
3420
|
-
serializeIf,
|
3421
|
-
setTagVar,
|
3422
|
-
styleAttr,
|
3423
|
-
toString,
|
3424
|
-
tryContent,
|
3425
|
-
write,
|
3426
|
-
writeAttrsAndContent,
|
3427
|
-
writeContent,
|
3428
|
-
writeEffect,
|
3429
|
-
writeExistingScope,
|
3430
|
-
writePartialAttrsAndContent,
|
3431
|
-
writeScope,
|
3432
|
-
writeSubscribe,
|
3433
|
-
writeTrailers
|
3433
|
+
forToBy
|
3434
3434
|
});
|