(()=>{"use strict";const e=window.wp.blocks,n=window.wp.i18n,i=window.wp.components,o=window.wp.coreData,t=window.wp.blockEditor,r=window.ReactJSXRuntime,s=JSON.parse('{"UU":"inventory-presser/engine"}');(0,e.getBlockType)(s.UU)||(0,e.registerBlockType)(s.UU,{edit:function({isSelected:e,context:s}){const{postType:p}=s,[c,w]=(0,o.useEntityProp)("postType",p,"meta"),l=(0,t.useBlockProps)();return e?(0,r.jsx)("div",{...l,children:(0,r.jsx)(i.TextControl,{label:(0,n.__)("Engine","inventory-presser"),value:c[invp_blocks.meta_prefix+"engine"],onChange:e=>w({...c,[invp_blocks.meta_prefix+"engine"]:e})})}):(0,r.jsxs)("div",{...l,children:[" ",invpFormatCurrency(c[invp_blocks.meta_prefix+"engine"])," "]})}})})();