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