(()=>{"use strict";const e=window.wp.blocks,t=window.wp.i18n,i=window.wp.components,o=window.wp.coreData,n=window.wp.blockEditor,r=window.ReactJSXRuntime,s=JSON.parse('{"UU":"inventory-presser/trim"}');(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,n.useBlockProps)();return e?(0,r.jsx)("div",{...l,children:(0,r.jsx)(i.TextControl,{label:(0,t.__)("Trim Level","inventory-presser"),value:c[invp_blocks.meta_prefix+"trim"],onChange:e=>w({...c,[invp_blocks.meta_prefix+"trim"]:e})})}):(0,r.jsxs)("div",{...l,children:[" ",c[invp_blocks.meta_prefix+"trim"]," "]})}})})();