const t0 = _template("<div></div>", true)
export function render(_ctx) {
- const n0 = _createIf(() => (_ctx.ok), () => {
+ const n0 = _createIf(() => (_ctx.ok) && (() => {
const n2 = t0()
_renderEffect(() => _setText(n2, _ctx.msg))
return n2
- })
+ }))
return n0
}"
`;
export function render(_ctx) {
const n13 = t5()
- const n0 = _createIf(() => (_ctx.ok), () => {
+ const n0 = _createIf(() => (_ctx.ok) ? () => {
const n2 = t0()
return n2
- }, () => _createIf(() => (_ctx.orNot), () => {
+ } : () => (_ctx.orNot) ? () => {
const n5 = t1()
const n6 = t2()
return [n5, n6]
- }, () => {
+ } : () => {
const n10 = t3()
const n11 = t4()
return [n10, n11]
- }))
+ })
_renderEffect(() => _setText(n13, _ctx.text))
return [n0, n13]
}"
const t0 = _template("<div>hello</div>")
export function render(_ctx) {
- const n0 = _createIf(() => (_ctx.ok), () => {
+ const n0 = _createIf(() => (_ctx.ok) && (() => {
const n2 = t0()
return n2
- })
- const n3 = _createIf(() => (_ctx.ok), () => {
+ }))
+ const n3 = _createIf(() => (_ctx.ok) && (() => {
const n5 = t0()
return n5
- })
+ }))
return [n0, n3]
}"
`;
const t2 = _template("<p></p>", true)
export function render(_ctx) {
- const n0 = _createIf(() => (_ctx.ok), () => {
+ const n0 = _createIf(() => (_ctx.ok) && (() => {
const n2 = t0()
const n3 = t1()
const n4 = t2()
_renderEffect(() => _setText(n4, _ctx.msg))
return [n2, n3, n4]
- })
+ }))
return n0
}"
`;
const t1 = _template("<p></p>")
export function render(_ctx) {
- const n0 = _createIf(() => (_ctx.ok), () => {
+ const n0 = _createIf(() => (_ctx.ok) ? () => {
const n2 = t0()
return n2
- }, () => {
+ } : () => {
const n4 = t1()
return n4
})
const t2 = _template("fine")
export function render(_ctx) {
- const n0 = _createIf(() => (_ctx.ok), () => {
+ const n0 = _createIf(() => (_ctx.ok) ? () => {
const n2 = t0()
return n2
- }, () => _createIf(() => (_ctx.orNot), () => {
+ } : () => (_ctx.orNot) ? () => {
const n4 = t1()
return n4
- }, () => {
+ } : () => {
const n7 = t2()
return n7
- }))
+ })
return n0
}"
`;
const t1 = _template("<p></p>")
export function render(_ctx) {
- const n0 = _createIf(() => (_ctx.ok), () => {
+ const n0 = _createIf(() => (_ctx.ok) ? () => {
const n2 = t0()
return n2
- }, () => _createIf(() => (_ctx.orNot), () => {
+ } : () => (_ctx.orNot) && (() => {
const n4 = t1()
return n4
}))