(()=>{"use strict";const e=window.wp.i18n,t=window.wp.blocks,i=window.wp.blockEditor,n=window.wp.data,o=window.ReactJSXRuntime,s=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"billy-blocks/accounting-actions","title":"Accounting: Actions","icon":"menu-alt","category":"billy-blocks","textdomain":"billy","supports":{"inserter":false,"reusable":false,"html":false},"editorScript":"file:./index.js"}'),{name:l}=s;(0,t.registerBlockType)({name:l,...s},{getEditWrapperProps:()=>({"data-align":"wide"}),edit:function(){const t=(0,n.useSelect)(e=>e("core/editor").getEditedPostAttribute("modified")),s=(0,i.useBlockProps)({className:"components-placeholder",style:{minHeight:"auto"}});return(0,o.jsx)("div",{...s,children:(0,o.jsx)("small",{children:(0,e.sprintf)((0,e.__)("%1$s: %2$s","billy"),(0,e.__)("Last modified","billy"),new Date(t).toLocaleString())})})},save:function(){return null}})})();