// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`slots can define and call slots 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'header'); let b3 = callSlot(ctx, node, key, 'footer'); return block1([], [b2, b3]); } }" `; exports[`slots can define and call slots 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block2 = createBlock(\`header\`); let block3 = createBlock(\`footer\`); const slot3 = ctx => (node, key) => { return block2(); } const slot4 = ctx => (node, key) => { return block3(); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b4 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'header': slot3(ctx2), 'footer': slot4(ctx2)}}); return block1([], [b4]); } }" `; exports[`slots can render node with t-ref and Component in same slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'default'); } }" `; exports[`slots can render node with t-ref and Component in same slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block2 = createBlock(\`
\`); const slot2 = ctx => (node, key) => { const refs = ctx.__owl__.refs let d1 = (el) => refs[\`div\`] = el; let b2 = block2([d1]); let b3 = component(\`Child\`, {}, key + \`__3\`, node, ctx); return multi([b2, b3]); } return function template(ctx, node, key = \\"\\") { const refs = ctx.__owl__.refs; return assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots can render only empty slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'default'); } }" `; exports[`slots content is the default slot (variation) 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'default'); } }" `; exports[`slots content is the default slot (variation) 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`sts rocks\`); const slot2 = ctx => (node, key) => { return block1(); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots content is the default slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots content is the default slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block2 = createBlock(\`sts rocks\`); const slot2 = ctx => (node, key) => { return block2(); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`slots dafault slots can define a default content 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); const defaultSlot1 = ctx => { return text(\`default content\`); } return function template(ctx, node, key = \\"\\") { let b3 = callSlot(ctx, node, key, 'default', defaultSlot1, false); return block1([], [b3]); } }" `; exports[`slots dafault slots can define a default content 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`Dialog\`, {}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`slots default content is not rendered if named slot is provided 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); const defaultSlot1 = ctx => { return text(\`default content\`); } return function template(ctx, node, key = \\"\\") { let b3 = callSlot(ctx, node, key, 'header', defaultSlot1, false); return block1([], [b3]); } }" `; exports[`slots default content is not rendered if named slot is provided 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); const slot3 = ctx => (node, key) => { return text(\`hey\`); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'header': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots default content is not rendered if slot is provided 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); const defaultSlot1 = ctx => { return text(\`default content\`); } return function template(ctx, node, key = \\"\\") { let b3 = callSlot(ctx, node, key, 'default', defaultSlot1, false); return block1([], [b3]); } }" `; exports[`slots default content is not rendered if slot is provided 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); const slot2 = ctx => (node, key) => { return text(\`hey\`); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`slots default slot next to named slot, with default content 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); const defaultSlot1 = ctx => { return text(\` Default content \`); } const defaultSlot2 = ctx => { return text(\` Default footer \`); } return function template(ctx, node, key = \\"\\") { let b3 = callSlot(ctx, node, key, 'default', defaultSlot1, false); let b5 = callSlot(ctx, node, key, 'footer', defaultSlot2, false); return block1([], [b3, b5]); } }" `; exports[`slots default slot next to named slot, with default content 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); const slot3 = ctx => (node, key) => { return text(\` Overridden footer \`); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'footer': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots default slot work with text nodes (variation) 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'default'); } }" `; exports[`slots default slot work with text nodes (variation) 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const slot2 = ctx => (node, key) => { return text(\`sts rocks\`); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots default slot work with text nodes 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots default slot work with text nodes 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); const slot2 = ctx => (node, key) => { return text(\`sts rocks\`); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`slots dynamic t-slot call 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { const v1 = ctx['toggle']; let d1 = [v1, ctx]; const slot2 = (ctx['current'].slot); let b2 = toggler(slot2, callSlot(ctx, node, key, slot2)); return block1([d1], [b2]); } }" `; exports[`slots dynamic t-slot call 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block3 = createBlock(\`

slot1

\`); let block4 = createBlock(\`content\`); let block5 = createBlock(\`

slot2

\`); const slot3 = ctx => (node, key) => { let b3 = block3(); let b4 = block4(); return multi([b3, b4]); } const slot4 = ctx => (node, key) => { return block5(); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b6 = assign(component(\`Toggler\`, {}, key + \`__1\`, node, ctx), {slots: {'slot1': slot3(ctx2), 'slot2': slot4(ctx2)}}); return block1([], [b6]); } }" `; exports[`slots dynamic t-slot call with default 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); const defaultSlot2 = ctx => { return text(\` owl \`); } return function template(ctx, node, key = \\"\\") { const v1 = ctx['toggle']; let d1 = [v1, ctx]; let b3 = callSlot(ctx, node, key, (ctx['current'].slot), defaultSlot2, true); return block1([d1], [b3]); } }" `; exports[`slots dynamic t-slot call with default 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block3 = createBlock(\`

slot1

\`); let block4 = createBlock(\`content\`); let block5 = createBlock(\`

slot2

\`); const slot3 = ctx => (node, key) => { let b3 = block3(); let b4 = block4(); return multi([b3, b4]); } const slot4 = ctx => (node, key) => { return block5(); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b6 = assign(component(\`Toggler\`, {}, key + \`__1\`, node, ctx), {slots: {'slot1': slot3(ctx2), 'slot2': slot4(ctx2)}}); return block1([], [b6]); } }" `; exports[`slots fun: two calls to the same slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); let b3 = callSlot(ctx, node, key, 'default'); return multi([b2, b3]); } }" `; exports[`slots fun: two calls to the same slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const slot2 = ctx => (node, key) => { return text(\`some text\`); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots missing slots are ignored 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`some content\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); let b3 = callSlot(ctx, node, key, 'footer'); return block1([], [b2, b3]); } }" `; exports[`slots missing slots are ignored 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`Dialog\`, {}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`slots multiple roots are allowed in a default slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots multiple roots are allowed in a default slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block3 = createBlock(\`sts\`); let block4 = createBlock(\`rocks\`); const slot2 = ctx => (node, key) => { let b3 = block3(); let b4 = block4(); return multi([b3, b4]); } return function template(ctx, node, key = \\"\\") { let b5 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b5]); } }" `; exports[`slots multiple roots are allowed in a named slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'content'); return block1([], [b2]); } }" `; exports[`slots multiple roots are allowed in a named slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block3 = createBlock(\`sts\`); let block4 = createBlock(\`rocks\`); const slot3 = ctx => (node, key) => { let b3 = block3(); let b4 = block4(); return multi([b3, b4]); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b5 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'content': slot3(ctx2)}}); return block1([], [b5]); } }" `; exports[`slots multiple slots containing components 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].val; return block1([d1]); } }" `; exports[`slots multiple slots containing components 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 's1'); let b3 = callSlot(ctx, node, key, 's2'); return block1([], [b2, b3]); } }" `; exports[`slots multiple slots containing components 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const slot3 = ctx => (node, key) => { return component(\`C\`, {val: 1}, key + \`__4\`, node, ctx); } const slot5 = ctx => (node, key) => { return component(\`C\`, {val: 2}, key + \`__6\`, node, ctx); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); return assign(component(\`B\`, {}, key + \`__1\`, node, ctx), {slots: {'s1': slot3(ctx2), 's2': slot5(ctx2)}}); } }" `; exports[`slots named slot inside slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'brol'); let b3 = callSlot(ctx, node, key, 'default'); return block1([], [b2, b3]); } }" `; exports[`slots named slot inside slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block2 = createBlock(\`

A

\`); let block3 = createBlock(\`

B

\`); const slot3 = ctx => (node, key) => { let d1 = ctx['value']; return block2([d1]); } const slot4 = ctx => (node, key) => { const ctx6 = capture(ctx); return assign(component(\`Child\`, {}, key + \`__5\`, node, ctx), {slots: {'brol': slot7(ctx6)}}); } const slot7 = ctx => (node, key) => { let d2 = ctx['value']; return block3([d2]); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b5 = assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'brol': slot3(ctx2), 'default': slot4(ctx2)}}); return block1([], [b5]); } }" `; exports[`slots named slot inside slot, part 3 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'brol'); let b3 = callSlot(ctx, node, key, 'default'); return block1([], [b2, b3]); } }" `; exports[`slots named slot inside slot, part 3 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block2 = createBlock(\`

A

\`); let block3 = createBlock(\`

B

\`); const slot3 = ctx => (node, key) => { let d1 = ctx['value']; return block2([d1]); } const slot4 = ctx => (node, key) => { const ctx6 = capture(ctx); return assign(component(\`Child\`, {}, key + \`__5\`, node, ctx), {slots: {'brol': slot7(ctx6)}}); } const slot7 = ctx => (node, key) => { let d2 = ctx['value']; return block3([d2]); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b5 = assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'brol': slot3(ctx2), 'default': slot4(ctx2)}}); return block1([], [b5]); } }" `; exports[`slots named slots can define a default content 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); const defaultSlot1 = ctx => { return text(\`default content\`); } return function template(ctx, node, key = \\"\\") { let b3 = callSlot(ctx, node, key, 'header', defaultSlot1, false); return block1([], [b3]); } }" `; exports[`slots named slots can define a default content 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`Dialog\`, {}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`slots named slots inside slot, again 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); const defaultSlot1 = ctx => { return text(\`default1\`); } const defaultSlot2 = ctx => { return text(\`default2\`); } return function template(ctx, node, key = \\"\\") { let b3 = callSlot(ctx, node, key, 'brol1', defaultSlot1, false); let b5 = callSlot(ctx, node, key, 'brol2', defaultSlot2, false); let b6 = callSlot(ctx, node, key, 'default'); return block1([], [b3, b5, b6]); } }" `; exports[`slots named slots inside slot, again 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block2 = createBlock(\`

A

\`); let block3 = createBlock(\`

B

\`); const slot3 = ctx => (node, key) => { let d1 = ctx['value']; return block2([d1]); } const slot4 = ctx => (node, key) => { const ctx6 = capture(ctx); return assign(component(\`Child\`, {}, key + \`__5\`, node, ctx), {slots: {'brol2': slot7(ctx6)}}); } const slot7 = ctx => (node, key) => { let d2 = ctx['value']; return block3([d2]); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b5 = assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'brol1': slot3(ctx2), 'default': slot4(ctx2)}}); return block1([], [b5]); } }" `; exports[`slots nested slots in same template 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots nested slots in same template 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots nested slots in same template 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`Child 3\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`slots nested slots in same template 4`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`\`); const slot2 = ctx => (node, key) => { return assign(component(\`Child2\`, {}, key + \`__3\`, node, ctx), {slots: {'default': slot4(ctx)}}); } const slot4 = ctx => (node, key) => { return component(\`Child3\`, {}, key + \`__5\`, node, ctx); } return function template(ctx, node, key = \\"\\") { let b4 = assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b4]); } }" `; exports[`slots nested slots: evaluation context and parented relationship 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].val; return block1([d1]); } }" `; exports[`slots nested slots: evaluation context and parented relationship 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots nested slots: evaluation context and parented relationship 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const slot2 = ctx => (node, key) => { return callSlot(ctx, node, key, 'default'); } return function template(ctx, node, key = \\"\\") { return assign(component(\`GrandChild\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots nested slots: evaluation context and parented relationship 4`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const slot2 = ctx => (node, key) => { return component(\`Slot\`, {val: ctx['state'].val}, key + \`__3\`, node, ctx); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots no named slot content => just no children 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'header'); return block1([], [b2]); } }" `; exports[`slots no named slot content => just no children 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return component(\`Dialog\`, {}, key + \`__1\`, node, ctx); } }" `; exports[`slots simple default slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots simple default slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const slot2 = ctx => (node, key) => { return text(\`some text\`); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots simple default slot, variation 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'default'); } }" `; exports[`slots simple default slot, variation 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const slot2 = ctx => (node, key) => { return text(\`some text\`); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots slot and (inline) t-call 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`

sokka

\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`slots slot and (inline) t-call 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots slot and (inline) t-call 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const callTemplate_5 = getTemplate(\`__template__9\`); let block1 = createBlock(\`
\`); const slot3 = ctx => (node, key) => { return callTemplate_5.call(this, ctx, node, key + \`__4\`); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots slot and t-call 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`

sokka

\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`slots slot and t-call 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots slot and t-call 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const callTemplate_5 = getTemplate(\`__template__9\`); let block1 = createBlock(\`
\`); const slot3 = ctx => (node, key) => { return callTemplate_5.call(this, ctx, node, key + \`__4\`); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots slot and t-esc 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots slot and t-esc 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); const slot2 = ctx => (node, key) => { return text('toph'); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`slots slot are properly rendered if inner props are changed 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
SC:
\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].val; return block1([d1]); } }" `; exports[`slots slot are properly rendered if inner props are changed 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots slot are properly rendered if inner props are changed 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); const slot3 = ctx => (node, key) => { return component(\`SomeComponent\`, {val: ctx['state'].val}, key + \`__4\`, node, ctx); } return function template(ctx, node, key = \\"\\") { const v1 = ctx['inc']; let d1 = [v1, ctx]; let d2 = ctx['state'].val; let b3 = assign(component(\`GenericComponent\`, {}, key + \`__2\`, node, ctx), {slots: {'default': slot3(ctx)}}); return block1([d1, d2], [b3]); } }" `; exports[`slots slot content is bound to caller 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots slot content is bound to caller 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`\`); const slot2 = ctx => (node, key) => { const v3 = ctx['inc']; let d1 = [v3, ctx]; return block1([d1]); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots slot preserves properly parented relationship 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'default'); } }" `; exports[`slots slot preserves properly parented relationship 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return text(\`Grand Child\`); } }" `; exports[`slots slot preserves properly parented relationship 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); const slot2 = ctx => (node, key) => { return component(\`GrandChild\`, {}, key + \`__3\`, node, ctx); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`slots slot preserves properly parented relationship, even through t-call 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'default'); } }" `; exports[`slots slot preserves properly parented relationship, even through t-call 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return text(\`Grand Child\`); } }" `; exports[`slots slot preserves properly parented relationship, even through t-call 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return component(\`GrandChild\`, {}, key + \`__1\`, node, ctx); } }" `; exports[`slots slot preserves properly parented relationship, even through t-call 4`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const callTemplate_5 = getTemplate(\`sub\`); let block1 = createBlock(\`
\`); const slot3 = ctx => (node, key) => { return callTemplate_5.call(this, ctx, node, key + \`__4\`); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b3 = assign(component(\`Child\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots slots and wrapper components 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots slots and wrapper components 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const slot2 = ctx => (node, key) => { return text(\`hey\`); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Link\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots slots are rendered with proper context 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'footer'); return block1([], [b2]); } }" `; exports[`slots slots are rendered with proper context 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block2 = createBlock(\`\`); const slot3 = ctx => (node, key) => { const v4 = ctx['doSomething']; let d2 = [v4, ctx]; return block2([d2]); } return function template(ctx, node, key = \\"\\") { let d1 = ctx['state'].val; const ctx2 = capture(ctx); let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'footer': slot3(ctx2)}}); return block1([d1], [b3]); } }" `; exports[`slots slots are rendered with proper context, part 2 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].to; let b2 = callSlot(ctx, node, key, 'default'); return block1([d1], [b2]); } }" `; exports[`slots slots are rendered with proper context, part 2 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
\`); let block3 = createBlock(\`
  • \`); const slot3 = ctx => (node, key) => { let b5 = text(\`User \`); let b6 = text(ctx['user'].name); return multi([b5, b6]); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(ctx['state'].users); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`user\`] = v_block2[i1]; let key1 = ctx['user'].id; const ctx2 = capture(ctx); let b7 = assign(component(\`Link\`, {to: '/user/'+ctx['user'].id}, key + \`__1__\${key1}\`, node, ctx), {slots: {'default': slot3(ctx2)}}); c_block2[i1] = withKey(block3([], [b7]), key1); } let b2 = list(c_block2); return block1([], [b2]); } }" `; exports[`slots slots are rendered with proper context, part 3 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].to; let b2 = callSlot(ctx, node, key, 'default'); return block1([d1], [b2]); } }" `; exports[`slots slots are rendered with proper context, part 3 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); let block3 = createBlock(\`
  • \`); const slot3 = ctx => (node, key) => { return text(ctx['userdescr']); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(ctx['state'].users); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`user\`] = v_block2[i1]; let key1 = ctx['user'].id; setContextValue(ctx, \\"userdescr\\", 'User '+ctx['user'].name); const ctx2 = capture(ctx); let b5 = assign(component(\`Link\`, {to: '/user/'+ctx['user'].id}, key + \`__1__\${key1}\`, node, ctx), {slots: {'default': slot3(ctx2)}}); c_block2[i1] = withKey(block3([], [b5]), key1); } let b2 = list(c_block2); return block1([], [b2]); } }" `; exports[`slots slots are rendered with proper context, part 4 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].to; let b2 = callSlot(ctx, node, key, 'default'); return block1([d1], [b2]); } }" `; exports[`slots slots are rendered with proper context, part 4 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); const slot3 = ctx => (node, key) => { return text(ctx['userdescr']); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 setContextValue(ctx, \\"userdescr\\", 'User '+ctx['state'].user.name); const ctx2 = capture(ctx); let b3 = assign(component(\`Link\`, {to: '/user/'+ctx['state'].user.id}, key + \`__1\`, node, ctx), {slots: {'default': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots slots in slots, with vars 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots slots in slots, with vars 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); const slot2 = ctx => (node, key) => { return callSlot(ctx, node, key, 'default'); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`B\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`slots slots in slots, with vars 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); let block2 = createBlock(\`

    hey

    \`); const slot3 = ctx => (node, key) => { let d1 = ctx['test']; return block2([d1]); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 setContextValue(ctx, \\"test\\", ctx['state'].name); const ctx2 = capture(ctx); let b3 = assign(component(\`A\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots slots in t-foreach and re-rendering 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['state'].val; let b2 = callSlot(ctx, node, key, 'default'); return block1([d1], [b2]); } }" `; exports[`slots slots in t-foreach and re-rendering 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); const slot3 = ctx => (node, key) => { return text(ctx['n_index']); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(Array(2)); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`n\`] = v_block2[i1]; ctx[\`n_index\`] = i1; let key1 = ctx['n_index']; const ctx2 = capture(ctx); c_block2[i1] = withKey(assign(component(\`Child\`, {}, key + \`__1__\${key1}\`, node, ctx), {slots: {'default': slot3(ctx2)}}), key1); } let b2 = list(c_block2); return block1([], [b2]); } }" `; exports[`slots slots in t-foreach in t-foreach 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
    \`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots slots in t-foreach in t-foreach 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); let block4 = createBlock(\`
    \`); let block5 = createBlock(\`\`); let block7 = createBlock(\`
  • \`); const slot3 = ctx => (node, key) => { let d2 = ctx['node1'].value; return block7([d2]); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(ctx['tree']); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`node1\`] = v_block2[i1]; let key1 = ctx['node1'].key; let d1 = ctx['node1'].value; let b4 = block4([d1]); ctx = Object.create(ctx); const [k_block6, v_block6, l_block6, c_block6] = prepareList(ctx['node1'].nodes); for (let i2 = 0; i2 < l_block6; i2++) { ctx[\`node2\`] = v_block6[i2]; let key2 = ctx['node2'].key; const ctx2 = capture(ctx); c_block6[i2] = withKey(assign(component(\`Child\`, {}, key + \`__1__\${key1}__\${key2}\`, node, ctx), {slots: {'default': slot3(ctx2)}}), key2); } ctx = ctx.__proto__; let b6 = list(c_block6); let b5 = block5([], [b6]); c_block2[i1] = withKey(multi([b4, b5]), key1); } let b2 = list(c_block2); return block1([], [b2]); } }" `; exports[`slots slots in t-foreach with t-set and re-rendering 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['state'].val; let b2 = callSlot(ctx, node, key, 'default'); return block1([d1], [b2]); } }" `; exports[`slots slots in t-foreach with t-set and re-rendering 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); const slot3 = ctx => (node, key) => { return text(ctx['dummy']); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 ctx = Object.create(ctx); const [k_block2, v_block2, l_block2, c_block2] = prepareList(Array(2)); for (let i1 = 0; i1 < l_block2; i1++) { ctx[\`n\`] = v_block2[i1]; ctx[\`n_index\`] = i1; let key1 = ctx['n_index']; setContextValue(ctx, \\"dummy\\", ctx['n_index']); const ctx2 = capture(ctx); c_block2[i1] = withKey(assign(component(\`Child\`, {}, key + \`__1__\${key1}\`, node, ctx), {slots: {'default': slot3(ctx2)}}), key1); } let b2 = list(c_block2); return block1([], [b2]); } }" `; exports[`slots t-debug on a t-set-slot (defining a slot) 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'content'); return block1([], [b2]); } }" `; exports[`slots t-debug on a t-set-slot (defining a slot) 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); const slot3 = ctx => (node, key) => { debugger; return text(\`abc\`); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'content': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots t-set t-value in a slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots t-set t-value in a slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); const slot3 = ctx => (node, key) => { setContextValue(ctx, \\"rainbow\\", 'dash'); return text(ctx['rainbow']); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 const ctx2 = capture(ctx); let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots t-slot in recursive templates 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots t-slot in recursive templates 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; const callTemplate_5 = getTemplate(\`_test_recursive_template\`); const slot3 = ctx => (node, key) => { let b2 = text(ctx['name']); ctx = Object.create(ctx); const [k_block3, v_block3, l_block3, c_block3] = prepareList(ctx['items']); for (let i1 = 0; i1 < l_block3; i1++) { ctx[\`item\`] = v_block3[i1]; ctx[\`item_first\`] = i1 === 0; ctx[\`item_last\`] = i1 === v_block3.length - 1; ctx[\`item_index\`] = i1; ctx[\`item_value\`] = k_block3[i1]; let key1 = ctx['item'].name; let b5,b6; if (!ctx['item'].children.length) { b5 = text(ctx['item'].name); } else { ctx = Object.create(ctx); ctx[isBoundary] = 1; setContextValue(ctx, \\"name\\", ctx['item'].name); setContextValue(ctx, \\"items\\", ctx['item'].children); b6 = callTemplate_5.call(this, ctx, node, key + \`__4__\${key1}\`); ctx = ctx.__proto__; } c_block3[i1] = withKey(multi([b5, b6]), key1); } ctx = ctx.__proto__; let b3 = list(c_block3); return multi([b2, b3]); } return function template(ctx, node, key = \\"\\") { ctx = Object.create(ctx); ctx[isBoundary] = 1 const ctx2 = capture(ctx); return assign(component(\`Wrapper\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot3(ctx2)}}); } }" `; exports[`slots t-slot nested within another slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`Child 3\`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`slots t-slot nested within another slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots t-slot nested within another slot 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots t-slot nested within another slot 4`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`\`); const slot2 = ctx => (node, key) => { return assign(component(\`Portal\`, {}, key + \`__3\`, node, ctx), {slots: {'default': slot4(ctx)}}); } const slot4 = ctx => (node, key) => { return callSlot(ctx, node, key, 'default'); } return function template(ctx, node, key = \\"\\") { let b4 = assign(component(\`Modal\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b4]); } }" `; exports[`slots t-slot nested within another slot 5`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`\`); const slot2 = ctx => (node, key) => { return component(\`Child3\`, {}, key + \`__3\`, node, ctx); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`slots t-slot scope context 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'default'); } }" `; exports[`slots t-slot scope context 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); const slot2 = ctx => (node, key) => { const v3 = ctx['onClick']; let d1 = [v3, ctx]; let b2 = callSlot(ctx, node, key, 'default'); return block1([d1], [b2]); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Wrapper\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots t-slot scope context 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`\`); const slot2 = ctx => (node, key) => { return block1(); } return function template(ctx, node, key = \\"\\") { return assign(component(\`Dialog\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } }" `; exports[`slots t-slot within dynamic t-call 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
    \`); return function template(ctx, node, key = \\"\\") { return block1(); } }" `; exports[`slots t-slot within dynamic t-call 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
    \`); return function template(ctx, node, key = \\"\\") { let b2 = callSlot(ctx, node, key, 'default'); return block1([], [b2]); } }" `; exports[`slots t-slot within dynamic t-call 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`
    \`); return function template(ctx, node, key = \\"\\") { let b2 = component(\`Child\`, {}, key + \`__1\`, node, ctx); return block1([], [b2]); } }" `; exports[`slots t-slot within dynamic t-call 4`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); const slot3 = ctx => (node, key) => { const template5 = (ctx['tcallTemplate']); return call(template5, ctx, node, key + \`__4\`); } return function template(ctx, node, key = \\"\\") { const ctx2 = capture(ctx); let b3 = assign(component(\`Slotted\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot3(ctx2)}}); return block1([], [b3]); } }" `; exports[`slots template can just return a slot 1`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].value; return block1([d1]); } }" `; exports[`slots template can just return a slot 2`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; return function template(ctx, node, key = \\"\\") { return callSlot(ctx, node, key, 'default'); } }" `; exports[`slots template can just return a slot 3`] = ` "function anonymous(bdom, helpers ) { let { text, createBlock, list, multi, html, toggler, component } = bdom; let { withDefault, getTemplate, prepareList, withKey, zero, call, callSlot, capture, isBoundary, shallowEqual, setContextValue, toNumber } = helpers; let assign = Object.assign; let block1 = createBlock(\`
    \`); const slot2 = ctx => (node, key) => { return component(\`Child\`, {value: ctx['state'].value}, key + \`__3\`, node, ctx); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`SlotComponent\`, {}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `;