import{cV as r,p as c,u as g,a as h,hH as m,j as t,C as p,hI as C}from"./bundle.CHKSNOJF.js";import{u as x}from"./hooks-Bc71oBPC.js";function b(){const n=r(),{payload:e,setPayload:l}=n,[a,o]=c.useState(e.design?.design.includes),{t:i}=g(),{handleBlockChange:d}=x({payload:e,setPayload:l}),s=h();return m(()=>d("includes",a||""),500,[a]),t.jsx(p,{title:i("includes"),className:"shadow-sm",childrenClassName:"pt-6",padding:"small",height:"full",style:{borderColor:s.$24},headerStyle:{borderColor:s.$20},children:t.jsx(C,{defaultLanguage:"twig",language:"twig",value:e.design?.design.includes,theme:s.name==="invoiceninja.dark"?"vs-dark":"light",options:{minimap:{enabled:!1}},onChange:u=>o(u)})})}export{b as default};
