@marko/runtime-tags 6.0.141 → 6.0.142

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 CHANGED
@@ -107,7 +107,7 @@ module.exports = __toCommonJS(dom_exports);
107
107
 
108
108
  // src/common/attr-tag.ts
109
109
  var empty = [];
110
- var rest = true ? Symbol("Attribute Tag") : Symbol();
110
+ var rest = true ? /* @__PURE__ */ Symbol("Attribute Tag") : /* @__PURE__ */ Symbol();
111
111
  function attrTag(attrs) {
112
112
  attrs[Symbol.iterator] = attrTagIterator;
113
113
  attrs[rest] = empty;
@@ -312,7 +312,7 @@ function _on(element, type, handler) {
312
312
  element["$" + type] = handler || null;
313
313
  }
314
314
  function createDelegator() {
315
- const kEvents = Symbol();
315
+ const kEvents = /* @__PURE__ */ Symbol();
316
316
  return function ensureDelegated(node, type, handler) {
317
317
  ((node = node.getRootNode())[kEvents] ||= {})[type] ||= (node.addEventListener(type, handler, true), 1);
318
318
  };
@@ -1,6 +1,6 @@
1
1
  // src/common/attr-tag.ts
2
2
  var empty = [];
3
- var rest = true ? Symbol("Attribute Tag") : Symbol();
3
+ var rest = true ? /* @__PURE__ */ Symbol("Attribute Tag") : /* @__PURE__ */ Symbol();
4
4
  function attrTag(attrs) {
5
5
  attrs[Symbol.iterator] = attrTagIterator;
6
6
  attrs[rest] = empty;
@@ -205,7 +205,7 @@ function _on(element, type, handler) {
205
205
  element["$" + type] = handler || null;
206
206
  }
207
207
  function createDelegator() {
208
- const kEvents = Symbol();
208
+ const kEvents = /* @__PURE__ */ Symbol();
209
209
  return function ensureDelegated(node, type, handler) {
210
210
  ((node = node.getRootNode())[kEvents] ||= {})[type] ||= (node.addEventListener(type, handler, true), 1);
211
211
  };
@@ -93,7 +93,7 @@ module.exports = __toCommonJS(html_exports);
93
93
 
94
94
  // src/common/attr-tag.ts
95
95
  var empty = [];
96
- var rest = true ? Symbol("Attribute Tag") : Symbol();
96
+ var rest = true ? /* @__PURE__ */ Symbol("Attribute Tag") : /* @__PURE__ */ Symbol();
97
97
  function attrTag(attrs) {
98
98
  attrs[Symbol.iterator] = attrTagIterator;
99
99
  attrs[rest] = empty;
@@ -427,7 +427,7 @@ var REORDER_RUNTIME_CODE = true ? (
427
427
  ) : `(e=>{if(e.j)return;let i,l,r,t=e.p={},c=(i,l)=>e.l[i].replaceWith(...l.childNodes);e.d.head.append(e.d.querySelector("style["+e.i+"]")||""),e.j={},e.x=(n,a,d,o,g)=>{d==r&&i(),"#"==n?(t[a]=l).i++:"!"==n?e.l[a]&&t[a]&&(r=d.nextSibling,i=()=>t[a].c()):"T"==d.tagName&&(a=d.getAttribute(e.i))&&(r=d.nextSibling,i=()=>{d.remove(),o||c(a,d),l.c()},l=t[a]||(o=t[a]={i:e.l[a]?1:2,c(i=e.l["^"+a]){if(--o.i)return 1;for(;(r=e.l[a].previousSibling||i).remove(),i!=r;);c(a,d)}}),(n=e.j[a])&&(g=l.c,l.c=()=>g()||n(e.r)))}})`;
428
428
 
429
429
  // src/html/serializer.ts
430
- var kTouchedIterator = Symbol();
430
+ var kTouchedIterator = /* @__PURE__ */ Symbol();
431
431
  var { hasOwnProperty } = {};
432
432
  var Generator = (function* () {
433
433
  })().constructor;
@@ -729,7 +729,7 @@ var Serializer = class {
729
729
  return nextId(this.#state);
730
730
  }
731
731
  symbol(id) {
732
- const symbol = Symbol();
732
+ const symbol = /* @__PURE__ */ Symbol();
733
733
  this.#state.refs.set(symbol, new Reference(null, null, 0, null, id));
734
734
  return symbol;
735
735
  }
@@ -1772,8 +1772,8 @@ function compareRegisteredReferences(a, b) {
1772
1772
  var $chunk;
1773
1773
  var NOOP = () => {
1774
1774
  };
1775
- var K_SCOPE_ID = Symbol("Scope ID");
1776
- var K_SCOPE_REFERENCED = Symbol("Scope Referenced");
1775
+ var K_SCOPE_ID = /* @__PURE__ */ Symbol("Scope ID");
1776
+ var K_SCOPE_REFERENCED = /* @__PURE__ */ Symbol("Scope Referenced");
1777
1777
  function getChunk() {
1778
1778
  return $chunk;
1779
1779
  }
@@ -1834,7 +1834,7 @@ function normalizeServerRender(value) {
1834
1834
  }
1835
1835
  }
1836
1836
  }
1837
- var kPendingContexts = Symbol("Pending Contexts");
1837
+ var kPendingContexts = /* @__PURE__ */ Symbol("Pending Contexts");
1838
1838
  function withContext(key, value, cb, cbValue) {
1839
1839
  const ctx = $chunk.context ||= { [kPendingContexts]: 0 };
1840
1840
  const prev = ctx[key];
@@ -1915,8 +1915,8 @@ function _resume_branch(scopeId) {
1915
1915
  writeScope(scopeId, { ["#ClosestBranchId" /* ClosestBranchId */]: branchId });
1916
1916
  }
1917
1917
  }
1918
- var kBranchId = Symbol("Branch Id");
1919
- var kIsAsync = Symbol("Is Async");
1918
+ var kBranchId = /* @__PURE__ */ Symbol("Branch Id");
1919
+ var kIsAsync = /* @__PURE__ */ Symbol("Is Async");
1920
1920
  function isInResumedBranch() {
1921
1921
  return $chunk?.context?.[kBranchId] !== void 0;
1922
1922
  }
@@ -2882,7 +2882,7 @@ function _attr_option_value(value) {
2882
2882
  const selectedValue = getContext(kSelectedValue);
2883
2883
  return _attr("value", value) + (!isVoid(value) && (Array.isArray(selectedValue) ? selectedValue.includes(value) : selectedValue === value) ? " selected" : "");
2884
2884
  }
2885
- var kSelectedValue = Symbol("selectedValue");
2885
+ var kSelectedValue = /* @__PURE__ */ Symbol("selectedValue");
2886
2886
  function _attr_select_value(scopeId, nodeAccessor, value, valueChange, content) {
2887
2887
  if (valueChange) {
2888
2888
  writeControlledScope(
@@ -3284,7 +3284,7 @@ var patchDynamicTag = /* @__PURE__ */ ((originalDynamicTag) => (patch) => {
3284
3284
  })(_dynamic_tag);
3285
3285
 
3286
3286
  // src/html/compat.ts
3287
- var K_TAGS_API_STATE = Symbol();
3287
+ var K_TAGS_API_STATE = /* @__PURE__ */ Symbol();
3288
3288
  var COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap();
3289
3289
  var compat = {
3290
3290
  $global,
@@ -1,6 +1,6 @@
1
1
  // src/common/attr-tag.ts
2
2
  var empty = [];
3
- var rest = true ? Symbol("Attribute Tag") : Symbol();
3
+ var rest = true ? /* @__PURE__ */ Symbol("Attribute Tag") : /* @__PURE__ */ Symbol();
4
4
  function attrTag(attrs) {
5
5
  attrs[Symbol.iterator] = attrTagIterator;
6
6
  attrs[rest] = empty;
@@ -334,7 +334,7 @@ var REORDER_RUNTIME_CODE = true ? (
334
334
  ) : `(e=>{if(e.j)return;let i,l,r,t=e.p={},c=(i,l)=>e.l[i].replaceWith(...l.childNodes);e.d.head.append(e.d.querySelector("style["+e.i+"]")||""),e.j={},e.x=(n,a,d,o,g)=>{d==r&&i(),"#"==n?(t[a]=l).i++:"!"==n?e.l[a]&&t[a]&&(r=d.nextSibling,i=()=>t[a].c()):"T"==d.tagName&&(a=d.getAttribute(e.i))&&(r=d.nextSibling,i=()=>{d.remove(),o||c(a,d),l.c()},l=t[a]||(o=t[a]={i:e.l[a]?1:2,c(i=e.l["^"+a]){if(--o.i)return 1;for(;(r=e.l[a].previousSibling||i).remove(),i!=r;);c(a,d)}}),(n=e.j[a])&&(g=l.c,l.c=()=>g()||n(e.r)))}})`;
335
335
 
336
336
  // src/html/serializer.ts
337
- var kTouchedIterator = Symbol();
337
+ var kTouchedIterator = /* @__PURE__ */ Symbol();
338
338
  var { hasOwnProperty } = {};
339
339
  var Generator = (function* () {
340
340
  })().constructor;
@@ -636,7 +636,7 @@ var Serializer = class {
636
636
  return nextId(this.#state);
637
637
  }
638
638
  symbol(id) {
639
- const symbol = Symbol();
639
+ const symbol = /* @__PURE__ */ Symbol();
640
640
  this.#state.refs.set(symbol, new Reference(null, null, 0, null, id));
641
641
  return symbol;
642
642
  }
@@ -1679,8 +1679,8 @@ function compareRegisteredReferences(a, b) {
1679
1679
  var $chunk;
1680
1680
  var NOOP = () => {
1681
1681
  };
1682
- var K_SCOPE_ID = Symbol("Scope ID");
1683
- var K_SCOPE_REFERENCED = Symbol("Scope Referenced");
1682
+ var K_SCOPE_ID = /* @__PURE__ */ Symbol("Scope ID");
1683
+ var K_SCOPE_REFERENCED = /* @__PURE__ */ Symbol("Scope Referenced");
1684
1684
  function getChunk() {
1685
1685
  return $chunk;
1686
1686
  }
@@ -1741,7 +1741,7 @@ function normalizeServerRender(value) {
1741
1741
  }
1742
1742
  }
1743
1743
  }
1744
- var kPendingContexts = Symbol("Pending Contexts");
1744
+ var kPendingContexts = /* @__PURE__ */ Symbol("Pending Contexts");
1745
1745
  function withContext(key, value, cb, cbValue) {
1746
1746
  const ctx = $chunk.context ||= { [kPendingContexts]: 0 };
1747
1747
  const prev = ctx[key];
@@ -1822,8 +1822,8 @@ function _resume_branch(scopeId) {
1822
1822
  writeScope(scopeId, { ["#ClosestBranchId" /* ClosestBranchId */]: branchId });
1823
1823
  }
1824
1824
  }
1825
- var kBranchId = Symbol("Branch Id");
1826
- var kIsAsync = Symbol("Is Async");
1825
+ var kBranchId = /* @__PURE__ */ Symbol("Branch Id");
1826
+ var kIsAsync = /* @__PURE__ */ Symbol("Is Async");
1827
1827
  function isInResumedBranch() {
1828
1828
  return $chunk?.context?.[kBranchId] !== void 0;
1829
1829
  }
@@ -2789,7 +2789,7 @@ function _attr_option_value(value) {
2789
2789
  const selectedValue = getContext(kSelectedValue);
2790
2790
  return _attr("value", value) + (!isVoid(value) && (Array.isArray(selectedValue) ? selectedValue.includes(value) : selectedValue === value) ? " selected" : "");
2791
2791
  }
2792
- var kSelectedValue = Symbol("selectedValue");
2792
+ var kSelectedValue = /* @__PURE__ */ Symbol("selectedValue");
2793
2793
  function _attr_select_value(scopeId, nodeAccessor, value, valueChange, content) {
2794
2794
  if (valueChange) {
2795
2795
  writeControlledScope(
@@ -3191,7 +3191,7 @@ var patchDynamicTag = /* @__PURE__ */ ((originalDynamicTag) => (patch) => {
3191
3191
  })(_dynamic_tag);
3192
3192
 
3193
3193
  // src/html/compat.ts
3194
- var K_TAGS_API_STATE = Symbol();
3194
+ var K_TAGS_API_STATE = /* @__PURE__ */ Symbol();
3195
3195
  var COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap();
3196
3196
  var compat = {
3197
3197
  $global,
package/dist/dom.js CHANGED
@@ -103,7 +103,7 @@ __export(dom_exports, {
103
103
  module.exports = __toCommonJS(dom_exports);
104
104
 
105
105
  // src/common/attr-tag.ts
106
- var empty = [], rest = Symbol();
106
+ var empty = [], rest = /* @__PURE__ */ Symbol();
107
107
  function attrTag(attrs) {
108
108
  return attrs[Symbol.iterator] = attrTagIterator, attrs[rest] = empty, attrs;
109
109
  }
@@ -200,7 +200,7 @@ function _on(element, type, handler) {
200
200
  element["$" + type] === void 0 && defaultDelegator(element, type, handleDelegated), element["$" + type] = handler || null;
201
201
  }
202
202
  function createDelegator() {
203
- let kEvents = Symbol();
203
+ let kEvents = /* @__PURE__ */ Symbol();
204
204
  return function(node, type, handler) {
205
205
  ((node = node.getRootNode())[kEvents] ||= {})[type] ||= (node.addEventListener(type, handler, !0), 1);
206
206
  };
package/dist/dom.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/common/attr-tag.ts
2
- var empty = [], rest = Symbol();
2
+ var empty = [], rest = /* @__PURE__ */ Symbol();
3
3
  function attrTag(attrs) {
4
4
  return attrs[Symbol.iterator] = attrTagIterator, attrs[rest] = empty, attrs;
5
5
  }
@@ -96,7 +96,7 @@ function _on(element, type, handler) {
96
96
  element["$" + type] === void 0 && defaultDelegator(element, type, handleDelegated), element["$" + type] = handler || null;
97
97
  }
98
98
  function createDelegator() {
99
- let kEvents = Symbol();
99
+ let kEvents = /* @__PURE__ */ Symbol();
100
100
  return function(node, type, handler) {
101
101
  ((node = node.getRootNode())[kEvents] ||= {})[type] ||= (node.addEventListener(type, handler, !0), 1);
102
102
  };
package/dist/html.js CHANGED
@@ -89,7 +89,7 @@ __export(html_exports, {
89
89
  module.exports = __toCommonJS(html_exports);
90
90
 
91
91
  // src/common/attr-tag.ts
92
- var empty = [], rest = Symbol();
92
+ var empty = [], rest = /* @__PURE__ */ Symbol();
93
93
  function attrTag(attrs) {
94
94
  return attrs[Symbol.iterator] = attrTagIterator, attrs[rest] = empty, attrs;
95
95
  }
@@ -215,7 +215,7 @@ function forStepBy(by, index) {
215
215
  var WALKER_RUNTIME_CODE = '(e=>(self[e]||(self[e]=(l,f=e+l,s=f.length,a={},d=[],t=document,n=t.createTreeWalker(t,129))=>t=self[e][l]={i:f,d:t,l:a,v:d,x(){},w(e,l,r){for(;e=n.nextNode();)t.x(l=(l=e.data)&&!l.indexOf(f)&&(a[r=l.slice(s+1)]=e,l[s]),r,e),l>"#"&&d.push(e)}}),self[e]))', REORDER_RUNTIME_CODE = '(e=>{if(e.j)return;let i,l,r,t=e.p={},c=(i,l)=>e.l[i].replaceWith(...l.childNodes);e.d.head.append(e.d.querySelector("style["+e.i+"]")||""),e.j={},e.x=(n,a,d,o,g)=>{d==r&&i(),"#"==n?(t[a]=l).i++:"!"==n?e.l[a]&&t[a]&&(r=d.nextSibling,i=()=>t[a].c()):"T"==d.tagName&&(a=d.getAttribute(e.i))&&(r=d.nextSibling,i=()=>{d.remove(),o||c(a,d),l.c()},l=t[a]||(o=t[a]={i:e.l[a]?1:2,c(i=e.l["^"+a]){if(--o.i)return 1;for(;(r=e.l[a].previousSibling||i).remove(),i!=r;);c(a,d)}}),(n=e.j[a])&&(g=l.c,l.c=()=>g()||n(e.r)))}})';
216
216
 
217
217
  // src/html/serializer.ts
218
- var kTouchedIterator = Symbol(), { hasOwnProperty } = {}, Generator = (function* () {
218
+ var kTouchedIterator = /* @__PURE__ */ Symbol(), { hasOwnProperty } = {}, Generator = (function* () {
219
219
  })().constructor, AsyncGenerator = (async function* () {
220
220
  })().constructor;
221
221
  patchIteratorNext(Generator.prototype);
@@ -496,7 +496,7 @@ var Serializer = class {
496
496
  return nextId(this.#state);
497
497
  }
498
498
  symbol(id) {
499
- let symbol = Symbol();
499
+ let symbol = /* @__PURE__ */ Symbol();
500
500
  return this.#state.refs.set(symbol, new Reference(null, null, 0, null, id)), symbol;
501
501
  }
502
502
  writeCall(value, object, property, spread) {
@@ -1131,7 +1131,7 @@ function compareRegisteredReferences(a, b) {
1131
1131
 
1132
1132
  // src/html/writer.ts
1133
1133
  var $chunk, NOOP = () => {
1134
- }, K_SCOPE_ID = Symbol("Scope ID"), K_SCOPE_REFERENCED = Symbol("Scope Referenced");
1134
+ }, K_SCOPE_ID = /* @__PURE__ */ Symbol("Scope ID"), K_SCOPE_REFERENCED = /* @__PURE__ */ Symbol("Scope Referenced");
1135
1135
  function getChunk() {
1136
1136
  return $chunk;
1137
1137
  }
@@ -1165,7 +1165,7 @@ function normalizeServerRender(value) {
1165
1165
  if (renderer && typeof renderer == "function")
1166
1166
  return renderer;
1167
1167
  }
1168
- var kPendingContexts = Symbol("Pending Contexts");
1168
+ var kPendingContexts = /* @__PURE__ */ Symbol("Pending Contexts");
1169
1169
  function withContext(key, value, cb, cbValue) {
1170
1170
  let ctx = $chunk.context ||= { [kPendingContexts]: 0 }, prev = ctx[key];
1171
1171
  ctx[kPendingContexts]++, ctx[key] = value;
@@ -1235,7 +1235,7 @@ function _resume_branch(scopeId) {
1235
1235
  let branchId = $chunk.context?.[kBranchId];
1236
1236
  branchId !== void 0 && branchId !== scopeId && writeScope(scopeId, { G: branchId });
1237
1237
  }
1238
- var kBranchId = Symbol("Branch Id"), kIsAsync = Symbol("Is Async");
1238
+ var kBranchId = /* @__PURE__ */ Symbol("Branch Id"), kIsAsync = /* @__PURE__ */ Symbol("Is Async");
1239
1239
  function isInResumedBranch() {
1240
1240
  return $chunk?.context?.[kBranchId] !== void 0;
1241
1241
  }
@@ -1778,7 +1778,7 @@ function _attr_option_value(value) {
1778
1778
  let selectedValue = getContext(kSelectedValue);
1779
1779
  return _attr("value", value) + (!isVoid(value) && (Array.isArray(selectedValue) ? selectedValue.includes(value) : selectedValue === value) ? " selected" : "");
1780
1780
  }
1781
- var kSelectedValue = Symbol("selectedValue");
1781
+ var kSelectedValue = /* @__PURE__ */ Symbol("selectedValue");
1782
1782
  function _attr_select_value(scopeId, nodeAccessor, value, valueChange, content) {
1783
1783
  valueChange && writeControlledScope(
1784
1784
  3 /* SelectValue */,
@@ -2067,7 +2067,7 @@ var patchDynamicTag = /* @__PURE__ */ ((originalDynamicTag) => (patch) => {
2067
2067
  })(_dynamic_tag);
2068
2068
 
2069
2069
  // src/html/compat.ts
2070
- var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap(), compat = {
2070
+ var K_TAGS_API_STATE = /* @__PURE__ */ Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap(), compat = {
2071
2071
  $global,
2072
2072
  fork: _await,
2073
2073
  write: _html,
package/dist/html.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/common/attr-tag.ts
2
- var empty = [], rest = Symbol();
2
+ var empty = [], rest = /* @__PURE__ */ Symbol();
3
3
  function attrTag(attrs) {
4
4
  return attrs[Symbol.iterator] = attrTagIterator, attrs[rest] = empty, attrs;
5
5
  }
@@ -125,7 +125,7 @@ function forStepBy(by, index) {
125
125
  var WALKER_RUNTIME_CODE = '(e=>(self[e]||(self[e]=(l,f=e+l,s=f.length,a={},d=[],t=document,n=t.createTreeWalker(t,129))=>t=self[e][l]={i:f,d:t,l:a,v:d,x(){},w(e,l,r){for(;e=n.nextNode();)t.x(l=(l=e.data)&&!l.indexOf(f)&&(a[r=l.slice(s+1)]=e,l[s]),r,e),l>"#"&&d.push(e)}}),self[e]))', REORDER_RUNTIME_CODE = '(e=>{if(e.j)return;let i,l,r,t=e.p={},c=(i,l)=>e.l[i].replaceWith(...l.childNodes);e.d.head.append(e.d.querySelector("style["+e.i+"]")||""),e.j={},e.x=(n,a,d,o,g)=>{d==r&&i(),"#"==n?(t[a]=l).i++:"!"==n?e.l[a]&&t[a]&&(r=d.nextSibling,i=()=>t[a].c()):"T"==d.tagName&&(a=d.getAttribute(e.i))&&(r=d.nextSibling,i=()=>{d.remove(),o||c(a,d),l.c()},l=t[a]||(o=t[a]={i:e.l[a]?1:2,c(i=e.l["^"+a]){if(--o.i)return 1;for(;(r=e.l[a].previousSibling||i).remove(),i!=r;);c(a,d)}}),(n=e.j[a])&&(g=l.c,l.c=()=>g()||n(e.r)))}})';
126
126
 
127
127
  // src/html/serializer.ts
128
- var kTouchedIterator = Symbol(), { hasOwnProperty } = {}, Generator = (function* () {
128
+ var kTouchedIterator = /* @__PURE__ */ Symbol(), { hasOwnProperty } = {}, Generator = (function* () {
129
129
  })().constructor, AsyncGenerator = (async function* () {
130
130
  })().constructor;
131
131
  patchIteratorNext(Generator.prototype);
@@ -406,7 +406,7 @@ var Serializer = class {
406
406
  return nextId(this.#state);
407
407
  }
408
408
  symbol(id) {
409
- let symbol = Symbol();
409
+ let symbol = /* @__PURE__ */ Symbol();
410
410
  return this.#state.refs.set(symbol, new Reference(null, null, 0, null, id)), symbol;
411
411
  }
412
412
  writeCall(value, object, property, spread) {
@@ -1041,7 +1041,7 @@ function compareRegisteredReferences(a, b) {
1041
1041
 
1042
1042
  // src/html/writer.ts
1043
1043
  var $chunk, NOOP = () => {
1044
- }, K_SCOPE_ID = Symbol("Scope ID"), K_SCOPE_REFERENCED = Symbol("Scope Referenced");
1044
+ }, K_SCOPE_ID = /* @__PURE__ */ Symbol("Scope ID"), K_SCOPE_REFERENCED = /* @__PURE__ */ Symbol("Scope Referenced");
1045
1045
  function getChunk() {
1046
1046
  return $chunk;
1047
1047
  }
@@ -1075,7 +1075,7 @@ function normalizeServerRender(value) {
1075
1075
  if (renderer && typeof renderer == "function")
1076
1076
  return renderer;
1077
1077
  }
1078
- var kPendingContexts = Symbol("Pending Contexts");
1078
+ var kPendingContexts = /* @__PURE__ */ Symbol("Pending Contexts");
1079
1079
  function withContext(key, value, cb, cbValue) {
1080
1080
  let ctx = $chunk.context ||= { [kPendingContexts]: 0 }, prev = ctx[key];
1081
1081
  ctx[kPendingContexts]++, ctx[key] = value;
@@ -1145,7 +1145,7 @@ function _resume_branch(scopeId) {
1145
1145
  let branchId = $chunk.context?.[kBranchId];
1146
1146
  branchId !== void 0 && branchId !== scopeId && writeScope(scopeId, { G: branchId });
1147
1147
  }
1148
- var kBranchId = Symbol("Branch Id"), kIsAsync = Symbol("Is Async");
1148
+ var kBranchId = /* @__PURE__ */ Symbol("Branch Id"), kIsAsync = /* @__PURE__ */ Symbol("Is Async");
1149
1149
  function isInResumedBranch() {
1150
1150
  return $chunk?.context?.[kBranchId] !== void 0;
1151
1151
  }
@@ -1688,7 +1688,7 @@ function _attr_option_value(value) {
1688
1688
  let selectedValue = getContext(kSelectedValue);
1689
1689
  return _attr("value", value) + (!isVoid(value) && (Array.isArray(selectedValue) ? selectedValue.includes(value) : selectedValue === value) ? " selected" : "");
1690
1690
  }
1691
- var kSelectedValue = Symbol("selectedValue");
1691
+ var kSelectedValue = /* @__PURE__ */ Symbol("selectedValue");
1692
1692
  function _attr_select_value(scopeId, nodeAccessor, value, valueChange, content) {
1693
1693
  valueChange && writeControlledScope(
1694
1694
  3 /* SelectValue */,
@@ -1977,7 +1977,7 @@ var patchDynamicTag = /* @__PURE__ */ ((originalDynamicTag) => (patch) => {
1977
1977
  })(_dynamic_tag);
1978
1978
 
1979
1979
  // src/html/compat.ts
1980
- var K_TAGS_API_STATE = Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap(), compat = {
1980
+ var K_TAGS_API_STATE = /* @__PURE__ */ Symbol(), COMPAT_REGISTRY = /* @__PURE__ */ new WeakMap(), compat = {
1981
1981
  $global,
1982
1982
  fork: _await,
1983
1983
  write: _html,
@@ -306,7 +306,7 @@ function isVoid(value) {
306
306
  var decodeAccessor = (num) => (num + (num < 26 ? 10 : num < 962 ? 334 : 11998)).toString(36);
307
307
 
308
308
  // src/html/serializer.ts
309
- var kTouchedIterator = Symbol();
309
+ var kTouchedIterator = /* @__PURE__ */ Symbol();
310
310
  var { hasOwnProperty } = {};
311
311
  var Generator = (function* () {
312
312
  })().constructor;
@@ -586,7 +586,7 @@ function isTranslate() {
586
586
 
587
587
  // src/translator/util/traverse.ts
588
588
  var import_compiler2 = require("@marko/compiler");
589
- var skip = Symbol("skip");
589
+ var skip = /* @__PURE__ */ Symbol("skip");
590
590
  function traverseReplace(container, key, enter3, state) {
591
591
  const node = container[key];
592
592
  if (node) {
@@ -1543,7 +1543,7 @@ function getPropKey(section, prop, prefix2) {
1543
1543
  if (!key) {
1544
1544
  keys.set(
1545
1545
  binding,
1546
- key = Symbol(
1546
+ key = /* @__PURE__ */ Symbol(
1547
1547
  (prefix2 ? typeof prefix2 === "symbol" ? `Symbol(${prefix2.description})` : prefix2 : "") + binding.name
1548
1548
  )
1549
1549
  );
@@ -2323,7 +2323,7 @@ function hasAllKnownProps(propTree) {
2323
2323
  // src/translator/util/entry-builder.ts
2324
2324
  var import_compiler9 = require("@marko/compiler");
2325
2325
  var import_babel_utils12 = require("@marko/compiler/babel-utils");
2326
- var kState = Symbol();
2326
+ var kState = /* @__PURE__ */ Symbol();
2327
2327
  var entry_builder_default = {
2328
2328
  build(entryFile, exportInit) {
2329
2329
  const state = entryFile[kState];
@@ -2395,9 +2395,6 @@ function getKnownAttrValues(tag) {
2395
2395
  var import_compiler11 = require("@marko/compiler");
2396
2396
  var import_babel_utils13 = require("@marko/compiler/babel-utils");
2397
2397
 
2398
- // src/common/attr-tag.ts
2399
- var rest = false ? Symbol("Attribute Tag") : Symbol();
2400
-
2401
2398
  // src/common/errors.ts
2402
2399
  function assertExclusiveAttrs(attrs, onError = throwErr) {
2403
2400
  if (attrs) {
@@ -2464,11 +2461,6 @@ function _escape_style(val) {
2464
2461
  }
2465
2462
 
2466
2463
  // src/html/writer.ts
2467
- var K_SCOPE_ID = Symbol("Scope ID");
2468
- var K_SCOPE_REFERENCED = Symbol("Scope Referenced");
2469
- var kPendingContexts = Symbol("Pending Contexts");
2470
- var kBranchId = Symbol("Branch Id");
2471
- var kIsAsync = Symbol("Is Async");
2472
2464
  if (false) {
2473
2465
  writeScope = /* @__PURE__ */ ((writeScope2) => (scopeId, partialScope, file, loc, vars) => {
2474
2466
  const scope = writeScope2(scopeId, partialScope);
@@ -2487,7 +2479,6 @@ function _attr_class(value) {
2487
2479
  function _attr_style(value) {
2488
2480
  return stringAttr("style", styleValue(value));
2489
2481
  }
2490
- var kSelectedValue = Symbol("selectedValue");
2491
2482
  function _attr(name2, value) {
2492
2483
  return isVoid(value) ? "" : nonVoidAttr(name2, value);
2493
2484
  }
@@ -2541,9 +2532,6 @@ var RENDERER_REGISTER_ID = prefix + (false ? "renderer" : "r");
2541
2532
  var SET_SCOPE_REGISTER_ID = prefix + (false ? "setScope" : "s");
2542
2533
  var RENDER_BODY_ID = prefix + (false ? "renderBody" : "b");
2543
2534
 
2544
- // src/html/compat.ts
2545
- var K_TAGS_API_STATE = Symbol();
2546
-
2547
2535
  // src/translator/util/to-property-name.ts
2548
2536
  var import_compiler10 = require("@marko/compiler");
2549
2537
  function isValidPropertyIdentifier(name2) {
@@ -2656,15 +2644,15 @@ function bindingHasProperty(binding, properties) {
2656
2644
  return true;
2657
2645
  }
2658
2646
  let property;
2659
- let rest2;
2647
+ let rest;
2660
2648
  if (Array.isArray(properties)) {
2661
2649
  property = properties[0];
2662
- rest2 = properties.length === 2 ? properties[1] : properties.slice(1);
2650
+ rest = properties.length === 2 ? properties[1] : properties.slice(1);
2663
2651
  } else {
2664
2652
  property = properties;
2665
2653
  }
2666
2654
  const propBinding = binding.propertyAliases.get(property);
2667
- if (propBinding && bindingHasProperty(propBinding, rest2)) {
2655
+ if (propBinding && bindingHasProperty(propBinding, rest)) {
2668
2656
  return true;
2669
2657
  }
2670
2658
  for (const alias of binding.aliases) {
@@ -5571,9 +5559,9 @@ function isTextOnlyNativeTag(tag) {
5571
5559
  }
5572
5560
 
5573
5561
  // src/translator/visitors/tag/native-tag.ts
5574
- var kNativeTagBinding = Symbol("native tag binding");
5575
- var kSkipEndTag = Symbol("skip native tag mark");
5576
- var kTagContentAttr = Symbol("tag could have dynamic content attribute");
5562
+ var kNativeTagBinding = /* @__PURE__ */ Symbol("native tag binding");
5563
+ var kSkipEndTag = /* @__PURE__ */ Symbol("skip native tag mark");
5564
+ var kTagContentAttr = /* @__PURE__ */ Symbol("tag could have dynamic content attribute");
5577
5565
  var htmlSelectArgs = /* @__PURE__ */ new WeakMap();
5578
5566
  var native_tag_default = {
5579
5567
  analyze: {
@@ -6533,8 +6521,8 @@ function buildUndefined2() {
6533
6521
  }
6534
6522
 
6535
6523
  // src/translator/util/is-only-child-in-parent.ts
6536
- var kOnlyChildInParent = Symbol("only child in parent");
6537
- var kNodeRef = Symbol("potential only child node ref");
6524
+ var kOnlyChildInParent = /* @__PURE__ */ Symbol("only child in parent");
6525
+ var kNodeRef = /* @__PURE__ */ Symbol("potential only child node ref");
6538
6526
  function getOnlyChildParentTagName(tag, branchSize = 1) {
6539
6527
  const extra = tag.node.extra;
6540
6528
  if (extra[kOnlyChildInParent] !== void 0) {
@@ -6564,7 +6552,7 @@ function getOptimizedOnlyChildNodeBinding(tag, section, branchSize = 1) {
6564
6552
  }
6565
6553
 
6566
6554
  // src/translator/core/for.ts
6567
- var kStatefulReason = Symbol("<for> stateful reason");
6555
+ var kStatefulReason = /* @__PURE__ */ Symbol("<for> stateful reason");
6568
6556
  var for_default = {
6569
6557
  analyze(tag) {
6570
6558
  const tagSection = getOrCreateSection(tag);
@@ -7391,10 +7379,10 @@ var [getKnownTags] = createSectionState(
7391
7379
  "known tags",
7392
7380
  () => []
7393
7381
  );
7394
- var kContentSection = Symbol("known tag content section");
7395
- var kChildScopeBinding = Symbol("known tag scope binding");
7396
- var kChildOffsetScopeBinding = Symbol("known tag scope offset binding");
7397
- var kKnownExprs = Symbol("known tag exprs");
7382
+ var kContentSection = /* @__PURE__ */ Symbol("known tag content section");
7383
+ var kChildScopeBinding = /* @__PURE__ */ Symbol("known tag scope binding");
7384
+ var kChildOffsetScopeBinding = /* @__PURE__ */ Symbol("known tag scope offset binding");
7385
+ var kKnownExprs = /* @__PURE__ */ Symbol("known tag exprs");
7398
7386
  function knownTagAnalyze(tag, contentSection, propTree) {
7399
7387
  analyzeAttributeTags(tag);
7400
7388
  const section = getOrCreateSection(tag);
@@ -8504,8 +8492,7 @@ function isSimpleReference(expr) {
8504
8492
  }
8505
8493
 
8506
8494
  // src/translator/util/references.ts
8507
- var kIsInvoked = Symbol("hoist is invoked");
8508
- var kBranchSerializeReason = Symbol("branch serialize reason");
8495
+ var kBranchSerializeReason = /* @__PURE__ */ Symbol("branch serialize reason");
8509
8496
  var [getBindings] = createProgramState(() => /* @__PURE__ */ new Set());
8510
8497
  var [getNextBindingId, setNextBindingId] = createProgramState(() => 0);
8511
8498
  function createBinding(name2, type, refSection, upstreamAlias, property, excludeProperties, loc = null, refDeclared = false) {
@@ -10038,10 +10025,10 @@ function getAllSerializeReasonsForBinding(binding, properties) {
10038
10025
  }
10039
10026
  } else {
10040
10027
  let property;
10041
- let rest2;
10028
+ let rest;
10042
10029
  if (Array.isArray(properties)) {
10043
10030
  property = properties[0];
10044
- rest2 = properties.length === 2 ? properties[1] : properties.slice(1);
10031
+ rest = properties.length === 2 ? properties[1] : properties.slice(1);
10045
10032
  } else {
10046
10033
  property = properties;
10047
10034
  }
@@ -10052,7 +10039,7 @@ function getAllSerializeReasonsForBinding(binding, properties) {
10052
10039
  if (propBinding) {
10053
10040
  reason = mergeSerializeReasons(
10054
10041
  reason,
10055
- getAllSerializeReasonsForBinding(propBinding, rest2)
10042
+ getAllSerializeReasonsForBinding(propBinding, rest)
10056
10043
  );
10057
10044
  }
10058
10045
  if (reason !== true) {
@@ -10061,7 +10048,7 @@ function getAllSerializeReasonsForBinding(binding, properties) {
10061
10048
  if (propBinding2) {
10062
10049
  reason = mergeSerializeReasons(
10063
10050
  reason,
10064
- getAllSerializeReasonsForBinding(propBinding2, rest2)
10051
+ getAllSerializeReasonsForBinding(propBinding2, rest)
10065
10052
  );
10066
10053
  if (reason === true) break;
10067
10054
  }
@@ -10088,7 +10075,7 @@ function setReadsOwner(from, to) {
10088
10075
  }
10089
10076
 
10090
10077
  // src/translator/core/await.ts
10091
- var kDOMBinding = Symbol("await tag dom binding");
10078
+ var kDOMBinding = /* @__PURE__ */ Symbol("await tag dom binding");
10092
10079
  var await_default = {
10093
10080
  analyze(tag) {
10094
10081
  (0, import_babel_utils27.assertNoVar)(tag);
@@ -10584,7 +10571,7 @@ var export_default = {
10584
10571
  // src/translator/core/html-comment.ts
10585
10572
  var import_compiler45 = require("@marko/compiler");
10586
10573
  var import_babel_utils34 = require("@marko/compiler/babel-utils");
10587
- var kNodeBinding = Symbol("comment tag binding");
10574
+ var kNodeBinding = /* @__PURE__ */ Symbol("comment tag binding");
10588
10575
  var html_comment_default = {
10589
10576
  analyze(tag) {
10590
10577
  (0, import_babel_utils34.assertNoArgs)(tag);
@@ -10822,7 +10809,7 @@ function toFirstStatementOrBlock(body) {
10822
10809
  }
10823
10810
 
10824
10811
  // src/translator/core/if.ts
10825
- var kStatefulReason2 = Symbol("<if> stateful reason");
10812
+ var kStatefulReason2 = /* @__PURE__ */ Symbol("<if> stateful reason");
10826
10813
  var BRANCHES_LOOKUP = /* @__PURE__ */ new WeakMap();
10827
10814
  var IfTag = {
10828
10815
  analyze(tag) {
@@ -11770,7 +11757,7 @@ var style_default = {
11770
11757
  var import_compiler56 = require("@marko/compiler");
11771
11758
  var import_babel_utils45 = require("@marko/compiler/babel-utils");
11772
11759
  var hasEnabledCatch = /* @__PURE__ */ new WeakSet();
11773
- var kDOMBinding2 = Symbol("try tag dom binding");
11760
+ var kDOMBinding2 = /* @__PURE__ */ Symbol("try tag dom binding");
11774
11761
  var try_default = {
11775
11762
  analyze(tag) {
11776
11763
  (0, import_babel_utils45.assertNoVar)(tag);
@@ -12021,9 +12008,9 @@ var import_declaration_default = {
12021
12008
 
12022
12009
  // src/translator/visitors/placeholder.ts
12023
12010
  var import_compiler57 = require("@marko/compiler");
12024
- var kNodeBinding2 = Symbol("placeholder node binding");
12025
- var kSiblingText = Symbol("placeholder has sibling text");
12026
- var kSharedText = Symbol(
12011
+ var kNodeBinding2 = /* @__PURE__ */ Symbol("placeholder node binding");
12012
+ var kSiblingText = /* @__PURE__ */ Symbol("placeholder has sibling text");
12013
+ var kSharedText = /* @__PURE__ */ Symbol(
12027
12014
  "placeholder will merge its visitor with a another node"
12028
12015
  );
12029
12016
  var placeholder_default = {
@@ -12560,8 +12547,8 @@ function isCircularRequest(file, request) {
12560
12547
  // src/translator/visitors/tag/dynamic-tag.ts
12561
12548
  var import_compiler62 = require("@marko/compiler");
12562
12549
  var import_babel_utils50 = require("@marko/compiler/babel-utils");
12563
- var kDOMBinding3 = Symbol("dynamic tag dom binding");
12564
- var kChildOffsetScopeBinding2 = Symbol("custom tag scope offset");
12550
+ var kDOMBinding3 = /* @__PURE__ */ Symbol("dynamic tag dom binding");
12551
+ var kChildOffsetScopeBinding2 = /* @__PURE__ */ Symbol("custom tag scope offset");
12565
12552
  var importedDynamicTagResume = /* @__PURE__ */ new WeakSet();
12566
12553
  var dynamic_tag_default = {
12567
12554
  analyze: {
@@ -13267,7 +13254,7 @@ function createInteropTranslator(translate5) {
13267
13254
  };
13268
13255
  function patchTranslateProgram(visitor) {
13269
13256
  const { Program } = visitor;
13270
- const kState2 = Symbol();
13257
+ const kState2 = /* @__PURE__ */ Symbol();
13271
13258
  const entryBuilder = {
13272
13259
  build(entryFile) {
13273
13260
  const state = entryFile[kState2];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/runtime-tags",
3
- "version": "6.0.141",
3
+ "version": "6.0.142",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",
@@ -48,9 +48,9 @@
48
48
  "build": "node -r ~ts ./scripts/bundle.ts"
49
49
  },
50
50
  "dependencies": {
51
- "@marko/compiler": "^5.39.48",
52
- "csstype": "^3.1.3",
53
- "magic-string": "^0.30.17"
51
+ "@marko/compiler": "^5.39.50",
52
+ "csstype": "^3.2.3",
53
+ "magic-string": "^0.30.21"
54
54
  },
55
55
  "engines": {
56
56
  "node": "18 || 20 || >=22"
package/tags-html.d.ts CHANGED
@@ -2501,8 +2501,7 @@ declare global {
2501
2501
  * @see https://www.w3.org/TR/SVG2/linking.html#AElement
2502
2502
  */
2503
2503
  interface A
2504
- extends SVGAttributes<SVGAElement>,
2505
- SVGConditionalProcessingAttributes {
2504
+ extends SVGAttributes<SVGAElement>, SVGConditionalProcessingAttributes {
2506
2505
  /**
2507
2506
  * @see https://www.w3.org/TR/SVG2/linking.html#AElementHrefAttribute
2508
2507
  */
@@ -2552,7 +2551,8 @@ declare global {
2552
2551
  * @see https://svgwg.org/specs/animations/#AnimateElement
2553
2552
  */
2554
2553
  interface Animate
2555
- extends Omit<SVGAttributes<SVGAnimateElement>, "fill">,
2554
+ extends
2555
+ Omit<SVGAttributes<SVGAnimateElement>, "fill">,
2556
2556
  SVGAnimationAdditionAttributes,
2557
2557
  SVGAnimationTargetElementAttributes,
2558
2558
  SVGAnimationAttributeTargetAttributes,
@@ -2563,7 +2563,8 @@ declare global {
2563
2563
  * @see https://svgwg.org/specs/animations/#AnimateMotionElement
2564
2564
  */
2565
2565
  interface AnimateMotion
2566
- extends Omit<SVGAttributes<SVGAnimateMotionElement>, "fill">,
2566
+ extends
2567
+ Omit<SVGAttributes<SVGAnimateMotionElement>, "fill">,
2567
2568
  SVGAnimationAdditionAttributes,
2568
2569
  SVGAnimationTargetElementAttributes,
2569
2570
  SVGAnimationTimingAttributes,
@@ -2594,7 +2595,8 @@ declare global {
2594
2595
  * @see https://svgwg.org/specs/animations/#AnimateTransformElement
2595
2596
  */
2596
2597
  interface AnimateTransform
2597
- extends Omit<SVGAttributes<SVGAnimateTransformElement>, "fill">,
2598
+ extends
2599
+ Omit<SVGAttributes<SVGAnimateTransformElement>, "fill">,
2598
2600
  SVGAnimationAdditionAttributes,
2599
2601
  SVGAnimationTargetElementAttributes,
2600
2602
  SVGAnimationAttributeTargetAttributes,
@@ -2616,7 +2618,8 @@ declare global {
2616
2618
  * @see https://www.w3.org/TR/SVG2/shapes.html#CircleElement
2617
2619
  */
2618
2620
  interface Circle
2619
- extends SVGAttributes<SVGCircleElement>,
2621
+ extends
2622
+ SVGAttributes<SVGCircleElement>,
2620
2623
  SVGConditionalProcessingAttributes {
2621
2624
  /**
2622
2625
  * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
@@ -2643,7 +2646,8 @@ declare global {
2643
2646
  * @see https://www.w3.org/TR/css-masking-1/#elementdef-clippath
2644
2647
  */
2645
2648
  interface ClipPath
2646
- extends SVGAttributes<SVGClipPathElement>,
2649
+ extends
2650
+ SVGAttributes<SVGClipPathElement>,
2647
2651
  SVGConditionalProcessingAttributes {
2648
2652
  /**
2649
2653
  * @see https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
@@ -2670,8 +2674,7 @@ declare global {
2670
2674
  * @see https://svgwg.org/specs/animations/#DiscardElement
2671
2675
  */
2672
2676
  interface Discard
2673
- extends SVGAttributes<SVGElement>,
2674
- SVGConditionalProcessingAttributes {
2677
+ extends SVGAttributes<SVGElement>, SVGConditionalProcessingAttributes {
2675
2678
  /**
2676
2679
  * @see https://svgwg.org/specs/animations/#DiscardElementBeginAttribute
2677
2680
  */
@@ -2687,7 +2690,8 @@ declare global {
2687
2690
  * @see https://www.w3.org/TR/SVG2/shapes.html#EllipseElement
2688
2691
  */
2689
2692
  interface Ellipse
2690
- extends SVGAttributes<SVGEllipseElement>,
2693
+ extends
2694
+ SVGAttributes<SVGEllipseElement>,
2691
2695
  SVGConditionalProcessingAttributes {
2692
2696
  /**
2693
2697
  * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
@@ -2719,8 +2723,7 @@ declare global {
2719
2723
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feblend
2720
2724
  */
2721
2725
  interface FEBlend
2722
- extends SVGAttributes<SVGFEBlendElement>,
2723
- SVGFilterPrimitiveAttributes {
2726
+ extends SVGAttributes<SVGFEBlendElement>, SVGFilterPrimitiveAttributes {
2724
2727
  /**
2725
2728
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
2726
2729
  */
@@ -2758,7 +2761,8 @@ declare global {
2758
2761
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fecolormatrix
2759
2762
  */
2760
2763
  interface FEColorMatrix
2761
- extends SVGAttributes<SVGFEColorMatrixElement>,
2764
+ extends
2765
+ SVGAttributes<SVGFEColorMatrixElement>,
2762
2766
  SVGFilterPrimitiveAttributes {
2763
2767
  /**
2764
2768
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -2786,7 +2790,8 @@ declare global {
2786
2790
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fecomponenttransfer
2787
2791
  */
2788
2792
  interface FEComponentTransfer
2789
- extends SVGAttributes<SVGFEComponentTransferElement>,
2793
+ extends
2794
+ SVGAttributes<SVGFEComponentTransferElement>,
2790
2795
  SVGFilterPrimitiveAttributes {
2791
2796
  /**
2792
2797
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -2798,7 +2803,8 @@ declare global {
2798
2803
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fecomposite
2799
2804
  */
2800
2805
  interface FEComposite
2801
- extends SVGAttributes<SVGFECompositeElement>,
2806
+ extends
2807
+ SVGAttributes<SVGFECompositeElement>,
2802
2808
  SVGFilterPrimitiveAttributes {
2803
2809
  /**
2804
2810
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -2848,7 +2854,8 @@ declare global {
2848
2854
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feconvolvematrix
2849
2855
  */
2850
2856
  interface FEConvolveMatrix
2851
- extends SVGAttributes<SVGFEConvolveMatrixElement>,
2857
+ extends
2858
+ SVGAttributes<SVGFEConvolveMatrixElement>,
2852
2859
  SVGFilterPrimitiveAttributes {
2853
2860
  /**
2854
2861
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -2906,7 +2913,8 @@ declare global {
2906
2913
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fediffuselighting
2907
2914
  */
2908
2915
  interface FEDiffuseLighting
2909
- extends SVGAttributes<SVGFEDiffuseLightingElement>,
2916
+ extends
2917
+ SVGAttributes<SVGFEDiffuseLightingElement>,
2910
2918
  SVGFilterPrimitiveAttributes {
2911
2919
  /**
2912
2920
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -2933,7 +2941,8 @@ declare global {
2933
2941
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fedisplacementmap
2934
2942
  */
2935
2943
  interface FEDisplacementMap
2936
- extends SVGAttributes<SVGFEDisplacementMapElement>,
2944
+ extends
2945
+ SVGAttributes<SVGFEDisplacementMapElement>,
2937
2946
  SVGFilterPrimitiveAttributes {
2938
2947
  /**
2939
2948
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -2965,7 +2974,8 @@ declare global {
2965
2974
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fedistantlight
2966
2975
  */
2967
2976
  interface FEDistantLight
2968
- extends SVGAttributes<SVGFEDistantLightElement>,
2977
+ extends
2978
+ SVGAttributes<SVGFEDistantLightElement>,
2969
2979
  SVGFilterPrimitiveAttributes {
2970
2980
  /**
2971
2981
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -2987,7 +2997,8 @@ declare global {
2987
2997
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fedropshadow
2988
2998
  */
2989
2999
  interface FEDropShadow
2990
- extends SVGAttributes<SVGFEDropShadowElement>,
3000
+ extends
3001
+ SVGAttributes<SVGFEDropShadowElement>,
2991
3002
  SVGFilterPrimitiveAttributes {
2992
3003
  /**
2993
3004
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -3014,42 +3025,48 @@ declare global {
3014
3025
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feflood
3015
3026
  */
3016
3027
  interface FEFlood
3017
- extends SVGAttributes<SVGFEFloodElement>,
3028
+ extends
3029
+ SVGAttributes<SVGFEFloodElement>,
3018
3030
  SVGFilterPrimitiveAttributes {}
3019
3031
 
3020
3032
  /**
3021
3033
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fefunca
3022
3034
  */
3023
3035
  interface FEFuncA
3024
- extends SVGAttributes<SVGFEFuncAElement>,
3036
+ extends
3037
+ SVGAttributes<SVGFEFuncAElement>,
3025
3038
  SVGTransferFunctionElementAttributes {}
3026
3039
 
3027
3040
  /**
3028
3041
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fefuncb
3029
3042
  */
3030
3043
  interface FEFuncB
3031
- extends SVGAttributes<SVGFEFuncBElement>,
3044
+ extends
3045
+ SVGAttributes<SVGFEFuncBElement>,
3032
3046
  SVGTransferFunctionElementAttributes {}
3033
3047
 
3034
3048
  /**
3035
3049
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fefuncg
3036
3050
  */
3037
3051
  interface FEFuncG
3038
- extends SVGAttributes<SVGFEFuncGElement>,
3052
+ extends
3053
+ SVGAttributes<SVGFEFuncGElement>,
3039
3054
  SVGTransferFunctionElementAttributes {}
3040
3055
 
3041
3056
  /**
3042
3057
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fefuncr
3043
3058
  */
3044
3059
  interface FEFuncR
3045
- extends SVGAttributes<SVGFEFuncRElement>,
3060
+ extends
3061
+ SVGAttributes<SVGFEFuncRElement>,
3046
3062
  SVGTransferFunctionElementAttributes {}
3047
3063
 
3048
3064
  /**
3049
3065
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fegaussianblur
3050
3066
  */
3051
3067
  interface FEGaussianBlur
3052
- extends SVGAttributes<SVGFEGaussianBlurElement>,
3068
+ extends
3069
+ SVGAttributes<SVGFEGaussianBlurElement>,
3053
3070
  SVGFilterPrimitiveAttributes {
3054
3071
  /**
3055
3072
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -3071,8 +3088,7 @@ declare global {
3071
3088
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feimage
3072
3089
  */
3073
3090
  interface FEImage
3074
- extends SVGAttributes<SVGFEImageElement>,
3075
- SVGFilterPrimitiveAttributes {
3091
+ extends SVGAttributes<SVGFEImageElement>, SVGFilterPrimitiveAttributes {
3076
3092
  /**
3077
3093
  * @see https://www.w3.org/TR/2011/REC-SVG11-20110816/struct.html#ExternalResourcesRequiredAttribute
3078
3094
  */
@@ -3093,7 +3109,8 @@ declare global {
3093
3109
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-femerge
3094
3110
  */
3095
3111
  interface FEMerge
3096
- extends SVGAttributes<SVGFEMergeElement>,
3112
+ extends
3113
+ SVGAttributes<SVGFEMergeElement>,
3097
3114
  SVGFilterPrimitiveAttributes {}
3098
3115
 
3099
3116
  /**
@@ -3120,7 +3137,8 @@ declare global {
3120
3137
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feoffset
3121
3138
  */
3122
3139
  interface FEOffset
3123
- extends SVGAttributes<SVGFEOffsetElement>,
3140
+ extends
3141
+ SVGAttributes<SVGFEOffsetElement>,
3124
3142
  SVGFilterPrimitiveAttributes {
3125
3143
  /**
3126
3144
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -3162,7 +3180,8 @@ declare global {
3162
3180
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fespecularlighting
3163
3181
  */
3164
3182
  interface FESpecularLighting
3165
- extends SVGAttributes<SVGFESpecularLightingElement>,
3183
+ extends
3184
+ SVGAttributes<SVGFESpecularLightingElement>,
3166
3185
  SVGFilterPrimitiveAttributes {
3167
3186
  /**
3168
3187
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
@@ -3239,8 +3258,7 @@ declare global {
3239
3258
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-fetile
3240
3259
  */
3241
3260
  interface FETile
3242
- extends SVGAttributes<SVGFETileElement>,
3243
- SVGFilterPrimitiveAttributes {
3261
+ extends SVGAttributes<SVGFETileElement>, SVGFilterPrimitiveAttributes {
3244
3262
  /**
3245
3263
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-filter-primitive-in
3246
3264
  */
@@ -3251,7 +3269,8 @@ declare global {
3251
3269
  * @see https://www.w3.org/TR/filter-effects-1/#elementdef-feturbulence
3252
3270
  */
3253
3271
  interface FETurbulence
3254
- extends SVGAttributes<SVGFETurbulenceElement>,
3272
+ extends
3273
+ SVGAttributes<SVGFETurbulenceElement>,
3255
3274
  SVGFilterPrimitiveAttributes {
3256
3275
  /**
3257
3276
  * @see https://www.w3.org/TR/filter-effects-1/#element-attrdef-feturbulence-basefrequency
@@ -3323,7 +3342,8 @@ declare global {
3323
3342
  * @see https://www.w3.org/TR/SVG2/embedded.html#ForeignObjectElement
3324
3343
  */
3325
3344
  interface ForeignObject
3326
- extends SVGAttributes<SVGForeignObjectElement>,
3345
+ extends
3346
+ SVGAttributes<SVGForeignObjectElement>,
3327
3347
  SVGConditionalProcessingAttributes {
3328
3348
  /**
3329
3349
  * @see https://www.w3.org/TR/SVG2/geometry.html#XProperty
@@ -3350,14 +3370,16 @@ declare global {
3350
3370
  * @see https://www.w3.org/TR/SVG2/struct.html#GElement
3351
3371
  */
3352
3372
  interface G
3353
- extends SVGAttributes<SVGGElement>,
3373
+ extends
3374
+ SVGAttributes<SVGGElement>,
3354
3375
  SVGConditionalProcessingAttributes {}
3355
3376
 
3356
3377
  /**
3357
3378
  * @see https://www.w3.org/TR/SVG2/embedded.html#ImageElement
3358
3379
  */
3359
3380
  interface Image
3360
- extends SVGAttributes<SVGImageElement>,
3381
+ extends
3382
+ SVGAttributes<SVGImageElement>,
3361
3383
  SVGConditionalProcessingAttributes {
3362
3384
  /**
3363
3385
  * @see https://www.w3.org/TR/SVG2/coords.html#PreserveAspectRatioAttribute
@@ -3399,7 +3421,8 @@ declare global {
3399
3421
  * @see https://www.w3.org/TR/SVG2/shapes.html#LineElement
3400
3422
  */
3401
3423
  interface Line
3402
- extends SVGAttributes<SVGLineElement>,
3424
+ extends
3425
+ SVGAttributes<SVGLineElement>,
3403
3426
  SVGConditionalProcessingAttributes {
3404
3427
  /**
3405
3428
  * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
@@ -3526,7 +3549,8 @@ declare global {
3526
3549
  * @see https://www.w3.org/TR/css-masking-1/#elementdef-mask
3527
3550
  */
3528
3551
  interface Mask
3529
- extends SVGAttributes<SVGMaskElement>,
3552
+ extends
3553
+ SVGAttributes<SVGMaskElement>,
3530
3554
  SVGConditionalProcessingAttributes {
3531
3555
  /**
3532
3556
  * @see https://www.w3.org/TR/css-masking-1/#element-attrdef-mask-x
@@ -3568,7 +3592,8 @@ declare global {
3568
3592
  * @see https://svgwg.org/specs/animations/#MPathElement
3569
3593
  */
3570
3594
  interface MPath
3571
- extends SVGAttributes<SVGMPathElement>,
3595
+ extends
3596
+ SVGAttributes<SVGMPathElement>,
3572
3597
  SVGConditionalProcessingAttributes {
3573
3598
  /**
3574
3599
  * @see https://svgwg.org/specs/animations/#MPathElementHrefAttribute
@@ -3580,7 +3605,8 @@ declare global {
3580
3605
  * @see https://www.w3.org/TR/SVG2/paths.html#PathElement
3581
3606
  */
3582
3607
  interface Path
3583
- extends SVGAttributes<SVGPathElement>,
3608
+ extends
3609
+ SVGAttributes<SVGPathElement>,
3584
3610
  SVGConditionalProcessingAttributes {
3585
3611
  /**
3586
3612
  * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
@@ -3655,7 +3681,8 @@ declare global {
3655
3681
  * @see https://www.w3.org/TR/SVG2/shapes.html#PolygonElement
3656
3682
  */
3657
3683
  interface Polygon
3658
- extends SVGAttributes<SVGPolygonElement>,
3684
+ extends
3685
+ SVGAttributes<SVGPolygonElement>,
3659
3686
  SVGConditionalProcessingAttributes {
3660
3687
  /**
3661
3688
  * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
@@ -3672,7 +3699,8 @@ declare global {
3672
3699
  * @see https://www.w3.org/TR/SVG2/shapes.html#PolylineElement
3673
3700
  */
3674
3701
  interface Polyline
3675
- extends SVGAttributes<SVGPolylineElement>,
3702
+ extends
3703
+ SVGAttributes<SVGPolylineElement>,
3676
3704
  SVGConditionalProcessingAttributes {
3677
3705
  /**
3678
3706
  * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
@@ -3744,7 +3772,8 @@ declare global {
3744
3772
  * @see https://www.w3.org/TR/SVG2/shapes.html#RectElement
3745
3773
  */
3746
3774
  interface Rect
3747
- extends SVGAttributes<SVGRectElement>,
3775
+ extends
3776
+ SVGAttributes<SVGRectElement>,
3748
3777
  SVGConditionalProcessingAttributes {
3749
3778
  /**
3750
3779
  * @see https://www.w3.org/TR/SVG2/paths.html#PathLengthAttribute
@@ -3786,7 +3815,8 @@ declare global {
3786
3815
  * @see https://svgwg.org/specs/animations/#SetElement
3787
3816
  */
3788
3817
  interface Set
3789
- extends Omit<SVGAttributes<SVGSetElement>, "fill">,
3818
+ extends
3819
+ Omit<SVGAttributes<SVGSetElement>, "fill">,
3790
3820
  SVGAnimationTargetElementAttributes,
3791
3821
  SVGAnimationAttributeTargetAttributes,
3792
3822
  SVGAnimationTimingAttributes,
@@ -3811,7 +3841,8 @@ declare global {
3811
3841
  * @see https://www.w3.org/TR/SVG2/struct.html#SVGElement
3812
3842
  */
3813
3843
  interface SVG
3814
- extends SVGAttributes<SVGSVGElement>,
3844
+ extends
3845
+ SVGAttributes<SVGSVGElement>,
3815
3846
  SVGConditionalProcessingAttributes {
3816
3847
  /**
3817
3848
  * @see https://www.w3.org/TR/xml-names/#ns-decl
@@ -3859,7 +3890,8 @@ declare global {
3859
3890
  * @see https://www.w3.org/TR/SVG2/struct.html#SwitchElement
3860
3891
  */
3861
3892
  interface Switch
3862
- extends SVGAttributes<SVGSwitchElement>,
3893
+ extends
3894
+ SVGAttributes<SVGSwitchElement>,
3863
3895
  SVGConditionalProcessingAttributes {}
3864
3896
 
3865
3897
  /**
@@ -3923,7 +3955,8 @@ declare global {
3923
3955
  * @see https://www.w3.org/TR/SVG2/text.html#TextElement
3924
3956
  */
3925
3957
  interface Text
3926
- extends SVGAttributes<SVGTextElement>,
3958
+ extends
3959
+ SVGAttributes<SVGTextElement>,
3927
3960
  SVGConditionalProcessingAttributes {
3928
3961
  /**
3929
3962
  * @see https://www.w3.org/TR/SVG2/text.html#TextElementLengthAdjustAttribute
@@ -3965,7 +3998,8 @@ declare global {
3965
3998
  * @see https://www.w3.org/TR/SVG2/text.html#TextPathElement
3966
3999
  */
3967
4000
  interface TextPath
3968
- extends SVGAttributes<SVGTextPathElement>,
4001
+ extends
4002
+ SVGAttributes<SVGTextPathElement>,
3969
4003
  SVGConditionalProcessingAttributes {
3970
4004
  /**
3971
4005
  * @see https://www.w3.org/TR/SVG2/text.html#TextElementLengthAdjustAttribute
@@ -4017,7 +4051,8 @@ declare global {
4017
4051
  * @see https://www.w3.org/TR/SVG2/text.html#TextElement
4018
4052
  */
4019
4053
  interface TSpan
4020
- extends SVGAttributes<SVGTSpanElement>,
4054
+ extends
4055
+ SVGAttributes<SVGTSpanElement>,
4021
4056
  SVGConditionalProcessingAttributes {
4022
4057
  /**
4023
4058
  * @see https://www.w3.org/TR/SVG2/text.html#TextElementLengthAdjustAttribute
@@ -4059,7 +4094,8 @@ declare global {
4059
4094
  * @see https://www.w3.org/TR/SVG2/struct.html#UseElement
4060
4095
  */
4061
4096
  interface Use
4062
- extends SVGAttributes<SVGUseElement>,
4097
+ extends
4098
+ SVGAttributes<SVGUseElement>,
4063
4099
  SVGConditionalProcessingAttributes {
4064
4100
  /**
4065
4101
  * @see https://www.w3.org/TR/SVG2/struct.html#UseElementHrefAttribute
@@ -4108,8 +4144,9 @@ declare global {
4108
4144
  }
4109
4145
  }
4110
4146
 
4111
- interface HTMLAttributes<T extends Element = Element>
4112
- extends CommonAttributes<T> {
4147
+ interface HTMLAttributes<
4148
+ T extends Element = Element,
4149
+ > extends CommonAttributes<T> {
4113
4150
  /**
4114
4151
  * Specifies a keyboard shortcut to activate or focus on an element.
4115
4152
  * @see https://html.spec.whatwg.org/multipage/interaction.html#the-accesskey-attribute
@@ -4343,8 +4380,9 @@ declare global {
4343
4380
  [data: `data-${string}`]: AttrStringOrNumber | boolean;
4344
4381
  }
4345
4382
 
4346
- interface SVGAttributes<T extends Element = Element>
4347
- extends CommonAttributes<T> {
4383
+ interface SVGAttributes<
4384
+ T extends Element = Element,
4385
+ > extends CommonAttributes<T> {
4348
4386
  /**
4349
4387
  * @see https://www.w3.org/TR/SVG2/struct.html#IDAttribute
4350
4388
  */