"use strict";(self.webpackChunkcomplianz_gdpr=self.webpackChunkcomplianz_gdpr||[]).push([[9855],{69855:(e,t,u)=>{u.r(t),u.d(t,{default:()=>r});var a=u(51609),n=u(86087);const r=(0,n.memo)((({value:e,onChange:t,required:u,disabled:r,id:p,name:c})=>{const i=p||c,[l,s]=(0,n.useState)("");return(0,n.useEffect)((()=>{e||(e=0),s(e)}),[]),(0,n.useEffect)((()=>{if(e===l)return;const u=setTimeout((()=>{t(l)}),500);return()=>{clearTimeout(u)}}),[l]),(0,a.createElement)("div",{className:"cmplz-input-group cmplz-text-input-group"},(0,a.createElement)("input",{type:"number",id:i,name:c,value:l,onChange:e=>(e=>{s(e)})(e.target.value),required:u,disabled:r,className:"cmplz-text-input-group__input"}))}))}}]);