| 11035 | const { runtime: runtime2, createParser, reactivity: reactivity2 } = _hyperscript2.internals; |
| 11036 | const tokenizer2 = new Tokenizer(); |
| 11037 | function ensureFouceGuard() { |
| 11038 | if (typeof document === "undefined" || !document.head) return; |
| 11039 | if (document.head.querySelector('style[data-hyperscript-component="fouce-guard"]')) return; |
| 11040 | var styleEl = document.createElement("style"); |
| 11041 | styleEl.setAttribute("data-hyperscript-component", "fouce-guard"); |
| 11042 | styleEl.textContent = ":not(:defined) { visibility: hidden; }"; |
| 11043 | document.head.appendChild(styleEl); |
| 11044 | } |
| 11045 | function substituteSlots(templateSource, slotContent, scopeSel) { |
| 11046 | if (!slotContent) return templateSource; |
| 11047 | var tmp = document.createElement("div"); |