"use strict";(self.webpackChunkdami=self.webpackChunkdami||[]).push([[4576],{44576:(n,t,e)=>{e.r(t),e.d(t,{default:()=>c});const c=function({data:n,id:t},{prevBlockData:e}){return new Promise((c=>{const o=this.getBlockConnections(t);if(0===n.blocks.length)return void c({nextBlockId:o,data:e});const{blocks:s,connections:i}=n.blocks.reduce(((e,c,o)=>{const s=n.blocks[o+1]?.itemId;if(e.blocks[c.itemId]={label:c.id,data:c.data,id:s?c.itemId:t},s){const n=`${c.itemId}-output-1`;e.connections[n]||(e.connections[n]=new Map),e.connections[n].set(s,{id:s})}return e}),{blocks:{},connections:{}});Object.assign(this.engine.blocks,s),Object.assign(this.engine.connectionsMap,i),c({data:e,nextBlockId:[{id:n.blocks[0].itemId}]})}))}}}]);