import{u as l}from"./useEvent-WUlsM6MC.js";import{T as s}from"./cells-CCtxWKxf.js";import{t as i}from"./compiler-runtime-B3qBwwSJ.js";import{o as n}from"./utils-CORJ8yYa.js";import{n as f}from"./html-to-image-b9BimK8l.js";import{o as c}from"./focus-ShrwcKIv.js";var p=i();function u(){let o=(0,p.c)(4),a=l(n),r=c(),{createNewCell:t}=s(),e;return o[0]!==a||o[1]!==t||o[2]!==r?(e=m=>{m.includes("alt")&&f({autoInstantiate:a,createNewCell:t,fromCellId:r}),t({code:m,before:!1,cellId:r??"__end__"})},o[0]=a,o[1]=t,o[2]=r,o[3]=e):e=o[3],e}export{u as t};
