import { template as _$template } from "r-dom"; import { createComponent as _$createComponent } from "r-dom"; import { insert as _$insert } from "r-dom"; const _tmpl$ = /*#__PURE__*/ _$template(`Hello `, 2), _tmpl$2 = /*#__PURE__*/ _$template(` John`, 2), _tmpl$3 = /*#__PURE__*/ _$template(`Hello John`, 2), _tmpl$4 = /*#__PURE__*/ _$template(` `, 2), _tmpl$5 = /*#__PURE__*/ _$template(` `, 4), _tmpl$6 = /*#__PURE__*/ _$template(` `, 3), _tmpl$7 = /*#__PURE__*/ _$template(`Hello`, 2), _tmpl$8 = /*#__PURE__*/ _$template(` <Hi> `, 2), _tmpl$9 = /*#__PURE__*/ _$template( `Hi<script>alert();</script>`, 2 ), _tmpl$10 = /*#__PURE__*/ _$template(`Hello World!`, 2), _tmpl$11 = /*#__PURE__*/ _$template(`4 + 5 = 9`, 2), _tmpl$12 = /*#__PURE__*/ _$template( `
d
`, 2 ), _tmpl$13 = /*#__PURE__*/ _$template(`
`, 2); const trailing = _tmpl$.cloneNode(true); const leading = _tmpl$2.cloneNode(true); /* prettier-ignore */ const extraSpaces = _tmpl$3.cloneNode(true); const trailingExpr = (() => { const _el$4 = _tmpl$.cloneNode(true), _el$5 = _el$4.firstChild; _$insert(_el$4, name, null); return _el$4; })(); const leadingExpr = (() => { const _el$6 = _tmpl$2.cloneNode(true), _el$7 = _el$6.firstChild; _$insert(_el$6, greeting, _el$7); return _el$6; })(); /* prettier-ignore */ const multiExpr = (() => { const _el$8 = _tmpl$4.cloneNode(true), _el$9 = _el$8.firstChild; _$insert(_el$8, greeting, _el$9); _$insert(_el$8, name, null); return _el$8; })(); /* prettier-ignore */ const multiExprSpaced = (() => { const _el$10 = _tmpl$5.cloneNode(true), _el$11 = _el$10.firstChild, _el$14 = _el$11.nextSibling, _el$12 = _el$14.nextSibling, _el$15 = _el$12.nextSibling, _el$13 = _el$15.nextSibling; _$insert(_el$10, greeting, _el$14); _$insert(_el$10, name, _el$15); return _el$10; })(); /* prettier-ignore */ const multiExprTogether = (() => { const _el$16 = _tmpl$6.cloneNode(true), _el$17 = _el$16.firstChild, _el$19 = _el$17.nextSibling, _el$18 = _el$19.nextSibling; _$insert(_el$16, greeting, _el$19); _$insert(_el$16, name, _el$19); return _el$16; })(); /* prettier-ignore */ const multiLine = _tmpl$7.cloneNode(true); /* prettier-ignore */ const multiLineTrailingSpace = _tmpl$3.cloneNode(true); /* prettier-ignore */ const multiLineNoTrailingSpace = _tmpl$3.cloneNode(true); /* prettier-ignore */ const escape = _tmpl$8.cloneNode(true); /* prettier-ignore */ const escape2 = _$createComponent(Comp, { children: "\xA0\xA0" }); /* prettier-ignore */ const escape3 = "\xA0\xA0"; const injection = _tmpl$9.cloneNode(true); let value = "World"; const evaluated = _tmpl$10.cloneNode(true); let number = 4 + 5; const evaluatedNonString = _tmpl$11.cloneNode(true); const newLineLiteral = (() => { const _el$27 = _tmpl$12.cloneNode(true), _el$28 = _el$27.firstChild; _$insert(_el$27, s, _el$28); return _el$27; })(); const trailingSpace = (() => { const _el$29 = _tmpl$13.cloneNode(true); _$insert(_el$29, expr); return _el$29; })(); const trailingSpaceComp = _$createComponent(Comp, { children: expr, }); const trailingSpaceFrag = expr;