// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Portal Portal composed with t-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 } = helpers; let block1 = createBlock(\`
2
\`); const slot2 = ctx => (node, key) => { return block2(); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`Portal\`, {target: '#outside'}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`Portal conditional use of Portal (with sub Component) 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 } = helpers; let block1 = createBlock(\`2
\`); const slot2 = ctx => (node, key) => { return block3(); } return function template(ctx, node, key = \\"\\") { let b2,b4; b2 = block2(); if (ctx['state'].hasPortal) { b4 = assign(component(\`Portal\`, {target: '#outside'}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); } return multi([b2, b4]); } }" `; exports[`Portal lifecycle hooks of portal sub component are properly called 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 } = helpers; let block1 = createBlock(\`2
\`); 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(\`Portal\`, {target: '#outside'}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b5]); } }" `; exports[`Portal portal with no 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 } = helpers; let assign = Object.assign; let block1 = createBlock(\`2
\`); const slot2 = ctx => (node, key) => { return block2(); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`Portal\`, {target: '#local-target'}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`Portal with target in template (before portal) 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 } = helpers; let assign = Object.assign; let block1 = createBlock(\`2
\`); const slot2 = ctx => (node, key) => { return block2(); } return function template(ctx, node, key = \\"\\") { let b3 = assign(component(\`Portal\`, {target: '#local-target'}, key + \`__1\`, node, ctx), {slots: {'default': slot2(ctx)}}); return block1([], [b3]); } }" `; exports[`Portal: UI/UX focus is kept across re-renders 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 } = helpers; let block1 = createBlock(\`\`); return function template(ctx, node, key = \\"\\") { let d1 = ctx['props'].val; return block1([d1]); } }" `; exports[`Portal: UI/UX focus is kept across re-renders 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 } = helpers; let assign = Object.assign; let block1 = createBlock(\`