(value)
| 3810 | return elt?._hyperscript?.elementScope || {}; |
| 3811 | } |
| 3812 | static #serialize(value) { |
| 3813 | if (value == null) return ""; |
| 3814 | if (typeof value === "object") { |
| 3815 | try { |
| 3816 | return JSON.stringify(value); |
| 3817 | } catch (_) { |
| 3818 | return ""; |
| 3819 | } |
| 3820 | } |
| 3821 | return String(value); |
| 3822 | } |
| 3823 | static #resolveInherited(scopeKey, startElt) { |
| 3824 | var elt = startElt; |
| 3825 | while (elt) { |