let e=e=>{let{type:t,valueHidden:n,minChar:d,maxChar:a}=e??{};return{elementType:"hidden"===t?"textarea":t,elementValue:"hidden"===t?n:void 0,minLength:["text","textarea"].includes(t)?d:void 0,maxLength:["text","textarea"].includes(t)?a:void 0}};export{e as getElementContent};
