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